Contributions
Re: Re: Urgent : Kindly help
Hi Ole, I downloaded the latest trial soapui pro 2.5 version as suggested by you and tested. This error doesn't appear now, however another exception occurs when i double click on the test case to run. This error occurs even before i run the test case. Please find the stack trace of the error log and soap ui log attached herewith. There were no error messages found in the Http Log tab This same exception occurs even in the licensed version of soapui pro 2.0.2 version that we are currently using. Request you to kindly advice as to how to resolve this issue. Thanks, Lakshmi1.1KViews0likes0CommentsRe: Urgent : Kindly help
Hi, Have loaded a web service WSDL into soapui pro 2.0.2 tool. Have created a test case for this method.When i try to open this for execution it throws me the following error. java.lang.Exception: Document is not a SOAP 1.2 document, root element is [{http://schemas.xmlsoap.org/soap/envelope/}Envelope] Since this is a very critical method in the Integration test flow, unless this is resolved, I am not able to proceed with further testing. Kindly help asap. Thanks, Lakshmi2.2KViews0likes3CommentsRe: [Urgent] Getting the child count for a node
Hi Thanks for your reply, We have another problem though. We need to walk the tree in the right order.So can you please tell us how to get the separate counts for CC with respect to its two different parents namely BB and EE1 Thanks, Lakshmi1.7KViews0likes0CommentsRe: [Urgent] Getting the child count for a node
Hi Below is the structure of the response xml that i am trying to parse -s:envelop -s:body -AA -BB -CC -DD1 @x: value1 y : value2 z : value3 . . -DD2 . . . . -DD3 . . -DD(n) -EE1 -FF1 -CC -DD(n+1) @a :value4 a :value5 . . I am trying to capture the "values." of the individual node elements by looping,but am not sure how to get the children count for node given the x path like expression here's a sample xpath expression def hold = "//ns1:CC["+x+"] where x is a running number. Basically i need to get a child count for a Node but i only have the x path expression with me.Not sure how to proceed further. Thanks, Lakshmi1.7KViews0likes0Comments[Urgent] Getting the child count for a node
Hello I would like to find out how to get the children count for a node given the xpath like expression. I am using groovy as scripting lang. The problem is that I only have the xpath expression. I am not sure how to get node representing path and hence size or children count. Any help over here asap is appreciated. Thanks, Lakshmi4KViews0likes6CommentsRe: require groovy script to capture Set Cookie id from HTTP Header table
Hi Ole, Thanks for the reply and it simply works great. Now i am able to also have an integration test case flow with combinations of different requests and their respective groovy scripts to parse the respective response xmls. Thanks again. Regards, Lakshmi2.7KViews0likes0CommentsRe: how to test stateful services
Hi, I am also in a similar situation where in i have to test stateful services. I have also enabled the option in the Test suite to maintain Http session. It all works fine when i manually copy and paste the Set Cookie =XXX id into the request header of another request after login. The sequence of steps that i have is 1 login :request step 2 set session : groovy script 3 do XYZ : request step if i use the script as given in the example as in step2 (set session : groovy script) like def state = context.getProperty( com.eviware.soapui.model.testsuite.TestRunContext.HTTP_STATE_PROPERTY ) i am getting the value of the state as null. I am unable to proceed further because of this.Please let me know if i am wrong any where.Kindly help me fix this groovy script so that i can capture the session id of login method and add it in the subsequent requests in the groovy script. Appreciate any help in this regard. Thanks, Lakshmi2.4KViews0likes0CommentsRe: require groovy script to capture Set Cookie id from HTTP Header table
Hi, This is with reference to my previous post.I am able to see the Http Header Information as shown below.I am not able to write the groovy code to capture the "Set-Cookie" parameter and set the same value in another request. HTTP/1.1 200 OK X-AspNet-Version: 2.0.50727 Date: Sat, 28 Jun 2008 13:40:30 GMT Content-Length: 86 Set-Cookie: ASP.NET_SessionId=ycsvh455xliqpj554w2wym45; path=/; HttpOnly Content-Type: text/xml; charset=utf-8 X-Powered-By: ASP.NET Server: Microsoft-IIS/5.1 Cache-Control: private Kindly help asap . Thanks, Lakshmi2.7KViews0likes0Commentsrequire groovy script to capture Set Cookie id from HTTP Header table
Hi, In order to maintain the user session in the test case ,if i copy the Set Cookie, HTTP Header Parameter manually into the subsequent requests the session is maintained it works fine. I Need help in creating a groovy-script between the two request that reads the response cookie of the first response and sets the corresponding request cookie in the following request. Any help would be appreciated. Thanks, Lakshmi5.1KViews0likes3Comments