Contributions
Maven plugin pro version
Hi, My self Gaurav, working with Alcatel-Lucent. We purchased no. of license of SOAPUI. Just for your reference order no : 357569155 I am trying to execute SOAPUI test cases from maven project basen on SOAP UI maven plugin. How can I instruct SOAPUI maven plug-in that we are trying to use license version so that we can use pro functionality via maven plug-in? Because of above reason some of the test step is not executed properly via maven plug-in as compared to, when we are executing the test cases directly in SOAP UI. Test steps which is given problem via maven plug-in :- 1. Data source 2. loop1KViews0likes1CommentProblem in END Point
I am using SOAPUI pro 3.6.1 I attached my SOAP UI project file with this topic. Problem is :- I am trying to executing GET method of /supportedProducts resource. But SOAP UI in not able to append my resource path "/supportedProducts" with my endpoint "http://172.21.183.127:8280/search-backend/service/rest" while sending the request to REST server. KR, Gaurav1KViews0likes0CommentsCookie , HTTP session
Hi, SOAPUI version using :- soapUI Pro 2.5 beta2, Build daily-2008-11-17-[1], Build Date 2008/11/17 02:13 This is my test scenario: - Precondition: Maintain HTTP session is checked Step1 (SOAP request) :- ***************************** Request: POST /meter_db-smfSrv?sid=513:47:25001267989755 HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "" User-Agent: Jakarta Commons-HttpClient/3.1 Host: 10.255.244.104:8000 Content-Length: 490 JAFA_LOCATION Gaurav JAFA_Customer 00919212272017 420420 00919212272017 test123 Response: HTTP/1.1 200 OK Server: Alcatel OSP 2.4 Content-Type: text/xml; charset=utf-8 Content-Length: 649 Connection: close Set-Cookie: OSP_Ref=0000002c3f80001a-2;Domain=10.255.244.104:8000;Path=/meter_db-smfSrv 1 CONSUMER MUST BE UNIQUE ******************** Step2 (Groovy Script) :- ******************** def state = context.getProperty( com.eviware.soapui.model.testsuite.TestRunContext.HTTP_STATE_PROPERTY) if(state!=null){ log.info "state found" def cookies = state.cookies log.info "cookies.length " + cookies.length; for( int c=0; c { log.info "cookie 1" + cookies[c].name + " = " + cookies[c].value } } else { log.error "state not found" } //Output state found cookies.length 0 ******************** Step3 (SOAP request) :- ******************** Request: POST /meter_db-smfSrv?sid=513:47:25001267989755 HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "" User-Agent: Jakarta Commons-HttpClient/3.1 Host: 10.255.244.104:8000 Content-Length: 918 420420 0 0 JAFA_LOCATION 100 <?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> 100200 100200 1 JAFA_Meter_Group 16:35:16 0 17/02/3009 100 JAFA Type 100200 Response: HTTP/1.0 500 Internal Server Error Server: Alcatel-Lucent OSP fephttp 2.4 Content-Type: text/xml; charset=utf-8 Connection: close SOAP-ENV:Server Duplicated session ID ******************** Issues: - Step 2: - Cookies are not printing or returned, which returns in response of Request 1. As I checked the Maintain HTTP session option Step 3: - Cookies are not included in Request 3, which returned in response of Request 1. Please clear this stuff, since lot of confusion I saw on the forum. KR, Gaurav2.7KViews0likes1Comment