Code Monkey home page Code Monkey logo

reqman's People

Contributors

manatlan avatar mikeputnam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

reqman's Issues

Documentation

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?

Seems not working beind proxy

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 :-)

Certificate/SSL based authentication

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

Output json

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 to Iterate over Json array

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.

Broken link in README

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

Support for environment variables Values

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 !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.