manatlan / reqman Goto Github PK
View Code? Open in Web Editor NEWReqman is a postman killer ;-)
License: GNU General Public License v2.0
Reqman is a postman killer ;-)
License: GNU General Public License v2.0
Thanks you for reqman.
I have been using this package for a few days now and I am impressed.
Only feedback I have have is that, documentation could be better.
Let me know if I you need help with that, But first where are you generating the website from?
I try to use reqman behind a proxy.
I configure proxy via environment variables.
My test is the README's getting started
$ reqman new https://pypi.org/pypi/reqman/json
$ reqman .
Use 'reqman.conf'
TEST: /home/hugo.salesses/workspace/vwis/conso_edit_loadtests/test/reqman/0010_test.rml
* GET https://pypi.org/pypi/reqman/json --> Unreachable
- KO : status != 200
RESULT: 0/1 (1req(s))
I read the aiohttp documentation and I found a variable trust_env=True
that get proxies information from HTTP_PROXY / HTTPS_PROXY environment variables if the parameter is True.
See : https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.ClientSession
I have test it in reqman.py, and it works.
If you want I can make a PR.
Edit : finish my message :-)
How do I replicate these commands when creating reqman.conf
?
Essentially enable ssl/certificate based authentication for all my calls?
curl -k https://www.thesitetoauthenticate.com/test -v –key key.pem –cacert ca.pem –cert client.pem
curl --cert-type P12 --cert cert.p12:password https://yoursite.com
curl -E ./file.crt.pem --key ./file.key.pem https://myservice.com/service?wsdl
Thanks
Sorry for leaving this here, but is there a way to output only the json response into a file? I've tried reqman --o users.yaml > ./output.json but this gives me all the reqman text in between the json output.
How do I iterate over json array variable and run GET
example
- json.result.content: <<myValue>> # ensure that the content is equal to myValue param
- json.result.content.size: 2
here you have content
array with size 2.
now I want run GET
with, say content.0.name
and content.1.name
but programatically.
Now, you can edit your rml file, and try the things available in this tuto.
The link "tuto" in the README is broken, not sure which example you're trying to link to
Hello !
Great tool, heard of it through linuxfr. It seems to do exactly what I need but I'd like to use it in a very dynamic environment, ie each run will use a rml file, but I need to pass some variables (BUILD_ID, etc something I can not set in advance) to reqman.
I couldn't find a way to set a value with an environment variables but that would be awesome and close that issue ;-)
Thank you again for a great tool !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.