pyresttest
pyresttest copied to clipboard
Seems to be working on Windows 10
Hello!
I've managed to run it under Windows 10 & Server 2012 R2.
Installation is straightforward:
- Install Python 3.5 (PycURL is not available for 3.6 for Windows yet)
- Run
pip install pyresttestfrom admin command line
Running is easy too:
python c:\python35\scripts\pyresttest --skip_term_colors http://foo bar.yml
If you get errors like:
'charmap' codec can't encode characters in position 25-29: character maps to <undefined>
Switch windows console to Unicode with:
chcp 65001
set PYTHONIOENCODING=utf-8
Tested with Windows Server 2012 R2:
- Works with Python 3.5
- Does not install with Python 3.6 (PycURL is not available for 3.6 for Windows yet)
Use with --skip_term_colors
@varnav @svanoort That's good to hear. Our current build sever (via TeamCity) is running windows and I want to use pyresttest for smoke tests on staging and production commits. The only concern is that I didn't see official windows support within the documentation.
There is one more trick that may be needed. Switch windows console to Unicode with:
chcp 65001
set PYTHONIOENCODING=utf-8
Or you may get errors like:
'charmap' codec can't encode characters in position 25-29: character maps to <undefined>