Skip to content

Commit

Permalink
Merge pull request #1 from rishabh-lt/main
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
shubhamsoni146 committed May 24, 2024
2 parents 4a224c5 + db7fde4 commit a96aea3
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Start backend server
Get the username and api key from [Accounts Page](https://accounts.lambdatest.com/security) and update username and apiKey variables in index.js file. Start the backend server using below command.
```bash
npm run start
node index.js
```

Now backend is up and running on port 4000.
Expand All @@ -12,10 +12,10 @@ Now backend is up and running on port 4000.
## Start frontend
```bash
npm i -g serve
serve . -p 3000
serve . -p 4000
```

Now backend is up and running on port 3000. Open http://localhost:3000 port to start testing.
Now backend is up and running on port 4000. Open http://localhost.lambdatest.com:4000 port to start testing.

# Device SDK Integration

Expand Down Expand Up @@ -270,4 +270,18 @@ Run below command to start video recording.
curl --location --request PUT 'https://manual-api.lambdatest.com/tests/stop' \
--header 'Authorization: Bearer <TEST_SESSION_TOKEN>' \
--data '{}'
```
## IDLE TIMEOUT
Run below command to update IDLE TIMEOUT.
NOTE : Preference value can't be greater than 60 minutes
```bash
curl --location --request PUT 'https://manual-api.lambdatest.com/ltms/users/preferences/realtime' \
--header 'authorization: Bearer <TEST_SESSION_TOKEN>' \
--header 'content-type: application/json' \
--data '{
"preference_key": "IDLE_TIMEOUT",
"preference_value": 30
}'
```

0 comments on commit a96aea3

Please sign in to comment.