Contributions
Re: Using Task Variables within SOAP load test
Hi David, Please let me know if you require any more screenshots or details. Task Variables.JPG - I've defined my variable MyVariable a sa random value Task request details.JPG = I've defined set the @MyVariable as a parameter in the SOAP request. However, when running the test, the xml below is passed to our webservice. "@MyVariable" as opposed to a random int as expected <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetAd xmlns="_____"> <____Id>@MyVariable</____Id> </GetAd> </soap:Body> </soap:Envelope>1.7KViews0likes0CommentsRe: Using Task Variables within SOAP load test
This is a follow up for the forum thread below http://smartbear.com/forums/forum/post/?mode=singleThread&thread=3ca51106-b9f4-4931-923d-558672003cc4 Task Variables.JPG - I've defined my variable MyVariable a sa random value Task request details.JPG = I've defined set the @MyVariable as a parameter in the SOAP request. However, when running the test, the xml below is passed to our webservice. "@MyVariable" as opposed to a random int as expected <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetAd xmlns="_____"> <____Id>@MyVariable</____Id> </GetAd> </soap:Body> </soap:Envelope>1.7KViews0likes0CommentsRe: Modifying an HTTPTask's request within a load test
Hi David, That's unfortunate. It really would be nice be able to parametrize the URL as well. Are there any future plans to add such functionality? If, at least, the Request wasn't read-only outside of the even handler that would really help Thanks for your help! Jason818Views0likes0CommentsRe: Using Task Variables within SOAP load test
Hi David, I'm unable to share the entire project due to our internal security policy. Is there any more specific information I could provide you? What I'm seeing in my project looks very much like the image in "http://smartbear.com/support/viewarticle/17492/", except that I'm looking at the Request tab instead. I am entering "@MyVariable" into one of the value fields on the SOAP tab, however the string "@MyVariable" is being passed in the request as opposed to a random integer that I've defined the variable in the Tasks Editor as outlined in "http://smartbear.com/support/viewarticle/18720/"1.7KViews0likes0CommentsUsing Task Variables within SOAP load test
SOAP web service load testing -------------- I've defined the WSDL and Routine on my Task on the Request Tab and Test Complete correctly identifies and lists the required parameters for the SOAP request. Shouldn't I then be able to put in a Task Variable there? I've entered @MyVariable (defined as a task variable as a random integer from 1 to 100) there as a value, but for some reason it's still passing through the text "@MyVariable" as opposed a random integer in the request.10KViews0likes6CommentsModifying an HTTPTask's request within a load test
We are setting up load testing of our REST Web Services Test complete seems to offer support for modifying a HTTPTask's Request URL Variables. As outlined here: "http://smartbear.com/support/viewarticle/18839/" However, there doesn't seem to be any support in modifying the request itself. I'd like to paremeterize the request using Task Variables to be something like "GET /loadtesting/ltorders.dll/@MyVariable" The only way to modify the request itself seems to be via the OnLoadTestingRequest event handler as outlined at "http://smartbear.com/support/viewarticle/14084/?SearchQuery=httptask", but that really is not an ideal solution for us Any comments or suggestions in the matter would be greatly appreciated.8.3KViews0likes3Comments