Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more API examples added #4

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

nukalasr
Copy link

Added curl and postman script generation examples.

Generates curl script from runscope tests.  Run scope allows variables and scripting etc.  This script needs to be updated to get make a curl equivalent of all runscope features.
updated to generate one curl script per test case with test steps in it.
added curl generation script
minor change to readme
This Script generates Postman json file.  This json file can be imported into postman tool
updated to include generate postman script information
@mansilladev
Copy link
Contributor

Hey @nukalasr - thanks for the contribution. Any thoughts on how to handle variables, both in the curl and post man?

@nukalasr
Copy link
Author

Thanks. Runscope has environment variables that could be used replace them in output. For now, the script allows defining variables in config file that would be replaced in the output. I believe there are limitations on using variables in curl and postman. I need to read up and make improvements in the script.

Using API scope environment variables and put into generated postman script
@nukalasr
Copy link
Author

Added environment variables into generated postman scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants