You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -803,12 +803,12 @@ Batch command is available as command line only and loads a batch file containin
803
803
By running
804
804
805
805
```bash
806
-
$ webpagetest batch commands.txt
806
+
webpagetest batch commands.txt
807
807
```
808
808
809
809
where `commands.txt` contains:
810
810
811
-
```
811
+
```bash
812
812
test https://docs.webpagetest.org/api/integrations/ --first --location foo
813
813
test https://docs.webpagetest.org/api/integrations/ --first --location bar
814
814
```
@@ -837,15 +837,15 @@ It schedules the 2 tests above returning an array of size 2 in the same order as
837
837
With exit status 0 in case none of commands returns an error:
838
838
839
839
```bash
840
-
$ echo$?
840
+
echo$?
841
841
0
842
842
```
843
843
844
844
By running multiple sync tests, i.e. with either `--poll` or `--wait`, all tests are scheduled and results are polled or wait in parallel; meaning, if tests are set to run in different locations or same location with multiple agents, the final result might come together, but the result array will only return once _all_ tests are done. e.g.:
845
845
846
846
`commands.txt`:
847
847
848
-
```
848
+
```bash
849
849
test https://docs.webpagetest.org/api/integrations/ --first --location foo --poll --timeout 60
850
850
test https://docs.webpagetest.org/api/integrations/ --first --location bar --poll --timeout 60
851
851
```
@@ -859,7 +859,7 @@ WebPageTest API Wrapper provides a simple seamless way to integrate WebPageTest
0 commit comments