Telerik Forums
Test Studio for APIs Forum
1 answer
17 views

How does one take the response from one request and use the data to set the variables on the next request of a test? I have a test that creates a sale, returns an ID, and the sale is confirmed with that ID. The documentation isn't clear how'd I'd pass the resulting data to the next request.

 

Thanks in advance.

Oleg
Telerik team
 answered on 07 Sep 2016
3 answers
38 views

Hi guys!  Just want to say that I'm really excited to see you tackle API Testing.  I wish you luck and really hope your product turns out to be something like Test Studio and something above and beyond just a trivial wrapper around sending http requests.

 

I'll keep an eye on this project!  Again, I'm excited and wish you all well!

Valeri Hristov
Telerik team
 answered on 19 Jul 2016
1 answer
16 views

Hello!

Unfortunately your beta product of API testing has hit an early brick wall for me.  I am unable to use this to test my API's (without manually getting an auth token) because on our internal API the token route ONLY works if the POST body is sent using forms encoded fields.  If the content is raw text, the only option for the POST body right now, then our API rejects it as an invalid request, even if it is a well formed json object.

Yes this is our bad and the API should work with a raw text post as well and do some internal validation of the body before it tries to consume it, but being able to just switch the input type like PostMan would allow to do would get us as a test team running quicker.

 

Something to put on the wishlist - please give us some extra options in the body of the POST and other methods.

 

Thanks!

John
Telerik team
 answered on 19 Jul 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Liu
Top achievements
Rank 1
Iron
Alex
Top achievements
Rank 1
Veteran
Iron
Iron
George C.
Top achievements
Rank 2
Iron
Veteran
Top users last month
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Liu
Top achievements
Rank 1
Iron
Alex
Top achievements
Rank 1
Veteran
Iron
Iron
George C.
Top achievements
Rank 2
Iron
Veteran