svanoort / pyresttest

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

is there any way to use base url(which was passed from terminal) in middle of test set url #247

Open mravitej opened 7 years ago

mravitej commented 7 years ago

I need to use base_url passing from the terminal in the middle of below test set URLs.

$terminal: pyresttest company.com file_name.yaml

in the place of $base_url i need to use company.com which i was mentioned in the terminal. is there any solution for this or can we run tests without passing URL from the terminal? So, I can hard code the URL in test sets

mvitiuk commented 7 years ago

you can hard code it, like: pyresttest https://urlvaluefromterminal.com web/web_run_all.yaml test1:

test2: