Cloud: BrowserStack stop call sends an unlisted status (`completed`)

Open
#435 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
go
Domain
testing

Research direction

Read the StopSession implementation and its existing tests to trace the PUT /app-automate/sessions/{id}.json call and the W3C DELETE behavior. Verify accepted statuses, session termination, the Appium hub URL, and capability names against a live BrowserStack account and its documentation. Add an httptest server test for the chosen behavior; done means the stop behavior and configuration are verified and the CLI no longer warns about a refused call.

Written by the indexing model from the issue text.

Description

area/cloud bug

StopSession sends PUT /app-automate/sessions/{id}.json with {"status":"completed"}. BrowserStack's Sessions API page lists passed and failed (https://www.browserstack.com/docs/app-automate/api-reference/appium/sessions, read 2026-10-14). The stop may be refused, and the CLI prints a warning.

Acceptance criteria

  • Verify on a live account what the API accepts and whether the W3C DELETE already ends the session.
  • Send a documented status (the real test outcome if known) or drop the call, with a test against an httptest server.
  • Also confirm the Appium hub URL and capability names against BrowserStack's capability documentation (not confirmed in the audit).
Dominant language
Go
Stars
6
Forks
3
Avg merge
6h 28m
Merged PRs (30d)
362

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AlphaWaveSystems/flutter-probe

All issues in AlphaWaveSystems/flutter-probe

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.