Forum Discussion
elysialock
11 years agoOccasional Contributor
Thanks everyone!
I'll give the Groovy script a try. Thanks Jeshtha!
@smadji: this won't work, as some of the URLs in the response have {parameters} appended to the end of the URL. I described this in my original post but probably not well. Basically the "junk" (i.e. parameters in curly brackets) is also appended to the end of the URL, which makes the resulting property-transferred-endpoint improperly formatted & invalid, which means I get a 400 or 404 error. I was looking for a way to strip out the extra junk at the end so that I had a properly-formatted URL that will work with my test cases.
I'll give the Groovy script a try. Thanks Jeshtha!
I have used property to store my URL and used property expension to call the property from the URL field.
So when I change environments I do it within the property only.
@smadji: this won't work, as some of the URLs in the response have {parameters} appended to the end of the URL. I described this in my original post but probably not well. Basically the "junk" (i.e. parameters in curly brackets) is also appended to the end of the URL, which makes the resulting property-transferred-endpoint improperly formatted & invalid, which means I get a 400 or 404 error. I was looking for a way to strip out the extra junk at the end so that I had a properly-formatted URL that will work with my test cases.
Related Content
- 6 years ago
- 5 years ago
- 14 years ago
- 2 years ago
- 10 years ago
Recent Discussions
- 7 days ago