Is there any functionality to handle changing relative url in UFT API test
Question ID: 107868
1
0

I’ve an Rest API call where the url part is same and relative url part changes. For eg. URL —> https://abc.xyz.com, Relative Url —> /titan/ID. In this example, in relative url, the ‘ID’ keeps changing, how can i handle that?

Marked as spam
Posted by (Questions: 22, Answers: 6)
Asked on September 22, 2017 3:25 pm
65 views
Answers (1)
0
Private answer

In the local activities of the tool box I would create child method to capture the relative URL. If the Relative URL is very dynamic which is the order number then I would do the following:
1. in the new method create a Custom input (RelURT)
2. Change to the HTTP input tab
3. Change the relative path to point to the input created above (RelURT)
![alt text][1]

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on September 22, 2017 3:30 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top