Completed
Last Updated: 02 Feb 2017 12:24 by Eugeniy
ADMIN
Anton Dobrev
Created on: 20 May 2016 11:56
Type: Feature Request
3
Ability to invoke requests as cross-origin and over HTTP(s)
Very frequently I need to test a web services behavior when:
- Simulating a cross-origin request 
- Simulating the same request by toggling HTTP/HTTPS

For both use cases I would like to be able to:
- Determine the option with a simple select/check 
- Have a visual indication whether the option is selected or not on a request level
- Ability to enter options - for example, a request should fail over HTTP, a specific domain is not allowed for cross-origin request

Thanks for your consideration. 

Best,
Anton
2 comments
Eugeniy
Posted on: 08 Jul 2016 14:08
You can declare variable at project level - "base-url" - in that variable you can change http/https.
Then you can put conditions and add a status check
ADMIN
John
Posted on: 27 May 2016 10:19
Hi Anton,

This use case should be doable with the beta version of Test Studio for APIs. You just need to send the correct header and then check the response for the returning header... We can provide simple example you could use to start writing your test.

Best Regards,
Ivan Atanasov