This is a migrated thread and some comments may be shown as answers.

Set Variable does not get set since Telerik update

2 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 08 Feb 2017, 10:43 AM

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

2 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 10 Feb 2017, 09:58 AM
Problem solved!
0
Elena
Telerik team
answered on 10 Feb 2017, 03:28 PM
Hi Richard,

I am glad to hear you manage to solve the faced issue. Please do not hesitate to address any further queries you might have. Thanks! 

Regards,
Elena Tsvetkova
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Richard
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Elena
Telerik team
Share this question
or