svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 325 forks source link

Path from the base_url will be ignored. #195

Closed thebino closed 8 years ago

thebino commented 8 years ago

If I want to run tests on a specific path, the pyresttest only uses the host part of the given base_url pyresttest https://host/path/ smoketest.yaml

run the given config on https://host without the path.

g-peev commented 8 years ago

Look at this. This is the function used to join the base_url and the test urls. So to use the path baseurl must end with / and the test url shoud start without /_ (so it's not relative to the root). At least for me this did the trick.