Property transfer from an html response
I have a test step of type http request and want now to extract from the resulting response an html value. Therefore I have created another test step of type "Property Transfer" which contains an XPATH query that I have tested with another tool, so the XPath is ok. Furthermore I have validated the html response which also seems to be valid xml (although the document starts with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> which is an unclosed tag) So, my question is: Is it possible to do a a property transfer from an html response using xpath?768Views0likes1CommentTransferring property values using a WSDL
Hello, I using SOAPUI to test a suite of CICS webservices. I have the correspondingWSDLs. But I can't find the way to transfervalues from a response to a request. Here is a samble of the wsdl. In the response, there is a table (here 2 occurs/lignes) <SOAP-ENV:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gdox="http://www.GDOXBAZ.GDOXBAZI.Request.com" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <GDOXBAZOperationResponse xmlns="http://www.GDOXBAZ.GDOXBAZO.Response.com"> <data_appli> <exports> <export_appli_document> <export_tab_doc> <export_tab_doc_lig> <export_id_doc_stk>80</export_id_doc_stk> </export_tab_doc_lig> </export_tab_doc> <export_tab_doc> <export_tab_doc_lig> <export_id_doc_stk>81</export_id_doc_stk> </export_tab_doc_lig> </export_tab_doc> </export_appli_document> </exports> </data_appli> </GDOXBAZOperationResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gdox="http://www.GDOXBA0.GDOXBA0I.Request.com"> <soapenv:Header/> <soapenv:Body> <gdox:GDOXBA0Operation> <gdox:data_appli> <gdox:imports> <gdox:import_id_doc_stk>80</gdox:import_id_doc_stk> </gdox:imports> </gdox:data_appli> </gdox:GDOXBA0Operation> </soapenv:Body> </soapenv:Envelope> Based on what I have seen before I've tried : declare namespace SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; //SOAP-ENV:Body/GDOXBAZOperationResponse/data_appli/exports/export_appli_document/export_tab_doc[1]/export_tab_doc_lig/export_id_doc_stk moving the[1] to different lvels and without it also. But also "missing match". For now I'm trying to move it to a tempory variable (property?) until I can access the source. But in fine I want to move it directly in the import variable. Anyone can help me? Thank you very much.Solved1.7KViews0likes2CommentsMaintain HTTP Session: Should pass cookies to following request
Hi, I was reading this community forum for a long time about maintaining https session over several requests. But I'm not able to run it sucessfully. I'm on Ready!API 1.5.0 (SoapUI NG Pro)Build Date: 20151106-1037 All I want to do is 1.) Request A contains in its response 3 cookies (within the http header) 2.) I would like to have this 3 cookies transfered in Request B (also in the http header) It's as simple, but it doesn't work. I tried: to pass the cookie around, go to the testcase options and turn on "maintain HTTP session". Simply enable this option to true does not work I also tried to use a property transfer, but how can I easily pass all cookies? I don't want to write groovie code. I think such basic requirement should be handled by the tool itself. Maybe someone has an idea? Thanks Regards, RetoSolved16KViews0likes8Commentsget value of enc:arraSize from an attribute
Hi Im trying to get the value of hotels enc:arraySize, and I do not know how to, could you please help me with this? <return xsi:type="enc:Struct"> <session xsi:type="xsd:string">5762c037bc3a8</session> //To read what is in session on a transfer I do it like this //sesssion <hotels enc:itemType="enc:Struct" enc:arraySize="235" xsi:type="enc:Array"> <item xsi:type="enc:Struct"> ThanksSolved1.3KViews0likes2CommentsHow to enable 'Transfer-Encoding: Chunked' for RESPONSE
Hi all, I have been trying without any success to get a chunked RESPONSE by varying the response length, checking and unchecking the Preferences -> HTTP Settings -> ‘Response compression’, using a ‘Chunking Threshold’ (which is just for REQUESTs), setting a ‘Max response size’, and so on! It’s worth to mention that the ONLY time I saw my SOAP RESPONSE with ‘Transfer-Encoding: chunked’, was when I forgot to start my Mock Service and then I proceed to run my SOAP REQUEST. The message was “There are currently 0 running SoapUI MockService” in the SOAP Body, but a chunked response was given. Do you know any method to get a chunked RESPONSE message? I'm using SoapUI 5.2.0. With 4.5.2 I get the same results. Thanks in advance for your help. Mariana.Solved11KViews0likes1Comment