Contributions
dynamically passing header authorization value for Request
Hello, Here is what I need help to find solution: There is one endpoint which will will generate the Token in the response. Now this response is going to be used as a "Header" in another request. The token gets expire in one hour and for me to keep my test alive and automatic, I am seeking to some how retrieve the token from first endpoint/testcase and then dynamically pass it to the other test's request header. But I don't see an option to take value from groovy or data source etc. I saw one post where creating event handler is suggested but I am not sure how can the event handler take token value from a test case response. Appreciate any help. Thanks Basant8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes1CommentEntire Test suite gets deleted when I try to delete a coloumn in datasoure by keybord delete button
I am using ready API 1.3.1. See wired behaviour and lost my lot of work two times:( Ready API will delete the entire test suite when user select a column name in DataSource and hit Keyboard Delete key. Although it gives the right alert message but I don’t expect it to alert me for entire test suite deletion when I wanted to delete just one column in data-source. You try to select the exact coulum name in datasource (grid)and hit delete button its ask to delete the test suite. Should be considered as a bug in ReadyAPI? Thanks Basant9 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.1KViews0likes11CommentsJson response is showing in xml when I run test with datasource
We are using REST service with JSON request and response. I have few test cases which works fine and shows correct Json request and response when I run the test step with out datasource. But if I use the data source to change the parameter in the endpoint to be run at real time, the response shows in xml tab instead of showing it in Json tab (when we select any row and step from the testexecution). In Json (for request and response both) it says <Not JSON content>. I have seen this behavior only for endpoint with parameter and using GET method. Have few test which are for POST method and endpoint dont have perameters, here I do get response shown correctly as Json.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions721Views0likes1Comment