Open cweekly opened 3 years ago
@tkadlec , @pmeenan , @marcelduran, or anyone else, I'd be really grateful for a response. In any case have a great weekend!
@cweekly Do you get the same error if you run against the WPT public instance? I'm having no luck reproducing the issue against the public instance so far and trying to pinpoint if it's the private instance that seems to be tripping it up or something else?
I don't have a public instance API key :/
I'm guessing the problem relates to the authZ step on first-ever test run.
Given a private instance MY-WPT-SERVER with apiKey MY-API-KEY and a plaintext
batch-tests.txt
file containing:I'd expect running:
webpagetest batch batch-tests.txt -s MY-WPT-SERVER
to return a JSON array with 2 objects, e.g.but what I get instead is a 200 OK for the 1st test, and a 400 - Invalid location... for the 2nd test -- even though they use the same location.
Reversing the order of the 2 tests in the .txt file results in the same behavior (ie, whichever is listed 1st works, whichever is listed 2nd fails).
So I'm thinking this has to be a bug in the wrapper.
Thanks in advance for taking a look -- and more generally for creating this awesome, useful tool. :)