Contributions
Re: Assertion and variable comparaison for a webservice
Not same question, but related to the command. I'm using this for comparaison ${Créer Dossier#Response#//*:export_id_dos_doc} It's filled with [95] (max size is 18 digits number), but when I compare it with //*:export_id_dos_doc containing [95], it tells me: [....], expecting [95 ], actual was [95] Any idea why it would give me a space? there is actually no spaces (otherwise my CICS program behind would have gone berzerk :D )2.7KViews0likes2Comments- 2.7KViews0likes0Comments
Assertion and variable comparaison for a webservice
Hello, I have a webservice which as //*:import_id_doc_stk in request part and has //*:export_id_doc_stk in response. I won't explain the processing but I'd like to compare//*:import_id_doc_stk and//*:export_id_doc_stk in an assertion. Is it possible? When I tried, it compared//*:export_id_doc_stk as if it is an actual stringand not a variable. Thank you for your help. Edit: using a WSDL (calling mainframe)Solved2.8KViews0likes8CommentsRe: Assertion and variable comparaison for a webservice
Seems to be not far off I tried (Créer Dossier = CurrentStep) : ${${=context.Créer Dossier.label}#Request#//*:import_id_doc_stk} but it says the expected value is []. Obviously I check th contained value using a property transfer and it's actually filled with [mystring] Do I have to modify context and label too?2.7KViews0likes5Comments- 1.7KViews0likes0Comments
Transferring 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.7KViews0likes2Comments