soapui

webservice annotation issues with soapui

你说的曾经没有我的故事 提交于 2019-12-11 18:15:38
问题 My manager gave me a wsdl url to me today,and he want to publish a same wsdl on our side,i met an issue while combine the annotation request with spring,can someone help ?The custom request following: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:door="http://www.derbysoft.com/doorway"> <soapenv:Header/> <soapenv:Body> <door:PingRequest Token="?" UserName="?" Password="?" Echo="?"/> </soapenv:Body> </soapenv:Envelope> what i can generated like following:

lengthy SOAPUI method call

心已入冬 提交于 2019-12-11 15:24:37
问题 I have noticed a problem about webservice execution duration in my client app (java ws-Jax). I noticed method call duration is about 500ms. Then I setup SOAPUI application to test method call. By repeating SOAPUI execution, 20% of run has ~35ms but remain 80% has ~500ms duration!! I ran a wire shark and found response packet always received in ~30ms. I can't find why SOAPUI processed it for long time. If it need to send wsdl or request & response xml, I can attach them later. Looking for any

I want to run multiple SOAPUI project xmls in Gradle script

ε祈祈猫儿з 提交于 2019-12-11 13:39:35
问题 I want to run multiple soapui projects in Gradle script. The SOAPUI project files are kept is following location: d:/soapui/projects/path/a.xml, b.xml etc Will be there any Gradle script that it will enter into the above mentioned location and execute the each project one by one using testrunner.bat 回答1: As @RaGe comments you can use the gradle SOAPUI plugin. However if you're looking for a more custom way you can proceed as follows. You can generate a task on Gradle to execute testrunner to

Magento API not working with wsdl.exe but works with Soap UI

巧了我就是萌 提交于 2019-12-11 12:45:11
问题 I'm trying to integrate Magento 1.7 with a C# application. When I tried to use the "Add Service Reference" function in Visual Studio, it finds the service and all the operations but when I click OK, it doesn't generate anything. i.e. the Reference.cs file is almost empty (only has one line with namespace). I tried using wsdl.exe to generate the proxy in command prompt and I got the following error: R2718: A wsdl:binding in a DESCRIPTION MUST have the same set of wsdl:operations as the wsdl

SoapUI: Count Nodes Returned in JSON Array Response

烈酒焚心 提交于 2019-12-11 12:40:24
问题 I've learned so much using SoapUI, but, I'm just stuck on this one thing. I have the following payload returned: [ { "@c": ".CreditPaymentInfo", "supplementalInfo": null, "date": "06/30/2015 17:03:50", "posTxCode": "107535", "amt": 2.56, "transactionId": 235087, "id": 232163, "cardType": "CREDIT", "cardHolderName": "SMITH2/JOE", "expMonthYear": "0119", "lastFourDigits": "4444", "approvalCode": "315PNI", "creditTransactionNumber": "A71A7DB6C2F4" }, { "@c": ".CreditPaymentInfo",

SOAP-UI - How to pass parameter from variable

試著忘記壹切 提交于 2019-12-11 12:13:00
问题 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xxx="http://xxx.call/"> <soapenv:Header/> <soapenv:Body> <cotf:call_XXX> <!--Optional:--> <arg0> <!--Optional:--> <parameter1>some value1</parameter1> <!--Optional:--> <parameter2>some value2</parameter2> <!--Optional:--> <parameter3>some value3</parameter3> </arg0> </cotf:call_XXX> </soapenv:Body> </soapenv:Envelope> What I would like to know is how I can pass a variable instead of some value1,some value2,some

SOAP re-declaring qname inside body

99封情书 提交于 2019-12-11 11:51:52
问题 I have a SOAP request of this form: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:myqname="http://example.com/hello" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header/> <soapenv:Body> <myqname:MyRequest xmlns:myqname="http://example.com/hello"> ... </myqname:MyRequest> </soapenv:Body> </soapenv:Envelope> If I ask SOAPUI to "Format XML" this request, it removes the second declaration of myqname, so I get this: <soapenv:Envelope xmlns

How to keep SoapUI request settings in a single place?

ぐ巨炮叔叔 提交于 2019-12-11 11:12:00
问题 I have created a project with a bunch of test steps of type HTTP Request . Each http request uses Basic Authorization . When I specify username/password values in Auth request tab as show in the image below, all works fine. How to keep these settings in a single place per a project and so that do not have to change for each request if required to change the credentials? I tried property expansion feature, and it doesn't work in Auth tab. UPDATE #3: It works! Actually I have a solution :

Soap UI: Groovy Test Step : How to call a Specific Method in a groovy script from another Groovy Script

扶醉桌前 提交于 2019-12-11 10:26:25
问题 In my project, I want to keep all groovy utilities test step under one test case and to call them again and again where ever is needed. Like reading the test data file etc. I would be able to achieve that if the below problem is resolved. I tried a lot of ways but couldn't make it. Any help is welcome!! For Example script 1: test1Script def sayHellow(){ log.info "Hello!!" } Script 2 : test2Script import groovy.lang.Binding import groovy.util.GroovyScriptEngine def groovyUtils = new com

soapui how to get the list of nodes by using local-name in xpath expression?

99封情书 提交于 2019-12-11 09:58:01
问题 I am using soapui for automation testing. I am trying to write a xpath expression to do the property transfer with following xml <snapshots query="after=2014-04-16 12:30:00-0700" mask="op" xmlns="http://ws.example.com/roma/201907" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AsOf>2014-04-16T19:20:44-07:00</AsOf> <offers> <offer entityId="6500588"/> <offer entityId="6500589"/> <offer entityId="6500590"/> <offer entityId="6557335"> <rubber>KJM</rubber> <code>B44733</code> <offerCode