HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

parameterization URLs in RESTful websites Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 140


3/7/2012
Unregistered User
Unregistered User
Posts: 140
Vadim,

I have one question about a feature that you mention but don’t go over how to implement. That is in this blog post: http://www.stresstimulus.com/blog/post/what-s-new-in-v1-5-part-5-test-run-history-and-more item number 9. You give the sample URL of http://example.com/resources/item01 and then save that you can replace item01. Where is this done in the UI?
 
Another question is if you have for example: http://example.com/resources/item01/Parameterize.aspx and you only wanted to replace item01, would it preserve whatever came afterwards? 

Thanks.
0 link
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583


3/7/2012
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583
Here are the steps to parameterize URLs in RESTful websites:

1. Create a data source or an extractor.

2. In the fiddler grid select the GET request that you need to parameterize.

3. Click Requests in the Test Case –> Parameterization section. The URL will appear in the Parameterization Editor.


4. Select a  part of the URL that you need to parameterize (“item01” in this case).

5. Right-click and select the data source or the extractor. The recorded part of the URL will be replaced with the data source or extractor.

As you can see, you can replace any part of the URL.

0 link






Copyright © 2017 Stimulus Technology