Telerik Forums
Test Studio for APIs Forum
1 answer
90 views
I just upgraded to the latest build and now it crashes every time I try to edit a step. Anyone have a workaround? Tried creating a new project just in case that was the issue but nope.
Oleg
Telerik team
 answered on 11 Oct 2017
1 answer
544 views

All our webservices within the IIS require Windows authentication.

At the time of API testing through the Test studio tool, the initial request for a service is returned with a 401 unauthorized error, and thus the test case fails as we are expecting to see a 200 response.

The tool appears to support Basic and OAuth 2.0 Authorizations. I am wondering if there is a method to automatically authenticate the request, like how Telerik Fiddler does.

BTW, I have a trial license for Progress Test Studio.

 

Thank you very much

Amruta.

Nikolay Petrov
Telerik team
 answered on 15 Sep 2017
1 answer
55 views

Good day. Thanks for good product

sometimes in 'Last response data' tab I get path of file instead of opened json in this tab

What can it be?

Elena
Telerik team
 answered on 26 Jul 2017
6 answers
195 views

Hi all, my API requires authorization, but I'm not sure how to add Username/Password and the Authorization type.

Could you please provide an example?

 

Thanks in advance.

Tania

Jonathan
Top achievements
Rank 1
 answered on 19 Jul 2017
3 answers
74 views

Hello,

We would like to test our web application as if it were an API. When we record, we would like to filter out all unnecessary requests, but I can't find a way to do all of what I need. Is there any filtering available besides the filtering in the column headers?

We want to filter out rows based on more than two criteria (need to reject .js, .css, urls containing signalr or websockets, and so on). In addition, it would be nice if these filters could be set as a default.

Is there anything available to help with this?

 

Elena
Telerik team
 answered on 07 Apr 2017
3 answers
171 views

Hello,

The product looks fantastic, thanks for your work so far :)

I will have a need to verify dates. Unfortunately, these will be dates that result from testing, so I won't be able to compare against a fixed value. In addition, there will be slop in the date and time due to processing time.

For example, if the test is run on 2017-03-28 12:00:00pm (not the actual format of the date text), the application may calculate a date and time relative to the current date and time, say add ten days, and come up with something like 2017-04-07 12:00:03pm. If the test is run on 2017-02-28 12:00:00pm it might come up with something like 2017-03-10 12:00:02pm. Note that the date/time _interval_ is the same, but the day numbers are differ due to the calendar, and the seconds differ due to processing time.

So, we need to verify date ranges that respect the calendar, and also allow for the dates to vary by a certain amount, yet still be considered correct.

Is there anything besides regex matching that might be available to help with this?

If not, it would be nice if we could plug in some custom verification code. Is this possible?

Thanks!

 

Elena
Telerik team
 answered on 06 Apr 2017
2 answers
80 views

Hello,

I have a test step that requests a page from our web application. The request is a GET for host/instance/Dashboard, and receives the following response:

----------

HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: /instance/?Redirect=%252finstance%252fDashboard
Server: Microsoft-IIS/8.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Fri, 31 Mar 2017 18:19:53 GMT
Content-Length: 160

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/instance/?Redirect=%252finstance%252fDashboard">here</a>.</h2>
</body></html>

----------

The step would normally successfully go to our 'Dashboard', but in this case I am executing the step without being logged in, which is why I am being redirected. The problem is that the Last Response Data section never gets updated with the 302 Found response - it still contains the response from a previous run where the actual requested document was returned. Should the Last Response Data update when you execute an individual step?

Thanks in advance.

Elena
Telerik team
 answered on 05 Apr 2017
2 answers
99 views

Hello,

Since I updated Telerik API to version 2017.1.207.0 I seem to have trouble getting the Bearertoken set using Set Variable.

Before update, the Set Variable step was defined as
Source: Body     JSONPath     acces_token
Variable: Bearertoken
Convert to: none
Target  Level: Test

Which worked fine with:
{
"access_token":"xxxx",
"token_type":"bearer",
"expires_in":3599
}
Since the update the Bearertoken does not get set (=empty). This is probably due to a new validation of the JSON path: "The path is not a valid Jsonpath"
However, if JSONPath is defined as $.access_token the bearertoken still does not get set (=empty)
Please advise on how to get this working again. It blocks running my testcases.

Regards,

Richard

Elena
Telerik team
 answered on 10 Feb 2017
11 answers
149 views

Fiddler easily send requests and recieves answers from my Api but Studio not, request from studion even don't get to api.

Log says:

13:23:27.676 [INFO]  [START]   |  Step 'Api' [7KifDHNOAE0ql1ukkpSAWR]

13:23:27.827 [ERROR] [FAILED]  |  |  'GET http://[ip]:[port]/api/version' [144 ms] [3tDMFpQUKTNpVFeC9JSdUh] 'ЌҐў®§¬®¦­® гбв ­®ўЁвм 100-Continue б Ї®¬®ймо нв®Ј® бў®©бвў .€¬п Ї а ¬Ґва : value'

13:23:27.831 [ERROR] [FAILED]  |  Step 'Api' [156 ms] [7KifDHNOAE0ql1ukkpSAWR]

I even tryed to export request from fiddler and import it to studio - it didn't help.
Vadym
Top achievements
Rank 1
 answered on 24 Jan 2017
3 answers
113 views

Hi. Thanks a lot, for this awesome product, I really enjoy it

Help me please.

How I can catch value from http response and set it like a variable(when I create essence, in responce I have responce Id, after this I want to operate with this Id)

Elena
Telerik team
 answered on 03 Jan 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?