header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
November 23, 2008, 12:30:18 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Latest posts of: lakshmi
Welcome, Guest. Please login or register.
November 23, 2008, 12:30:18 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

  Show Posts
Pages: [1]
1  soapUI / soapUI / Urgent : Kindly help on: November 21, 2008, 07:12:28 am
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,
Lakshmi
2  soapUI / soapUI / Re: [Urgent] Getting the child count for a node on: July 22, 2008, 12:38:07 pm
Thanks again for the logic .It works just  fine  Smiley

Regards,
Lakshmi



3  soapUI / soapUI / Re: [Urgent] Getting the child count for a node on: July 21, 2008, 07:41:52 am
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,
Lakshmi
4  soapUI / soapUI / Re: [Urgent] Getting the child count for a node on: July 16, 2008, 09:42:05 am
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,
Lakshmi


5  soapUI / soapUI / [Urgent] Getting the child count for a node on: July 16, 2008, 07:30:55 am

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,
Lakshmi
6  soapUI / soapUI / Re: require groovy script to capture Set Cookie id from HTTP Header table on: June 30, 2008, 03:22:30 pm
Hi Ole,

Thanks for the reply and it simply works great. Smiley
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,
Lakshmi
7  soapUI / soapUI / Re: how to test stateful services on: June 29, 2008, 11:02:32 am
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,
Lakshmi

8  soapUI / soapUI / Re: require groovy script to capture Set Cookie id from HTTP Header table on: June 29, 2008, 01:25:25 am
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

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body/></s:Envelope>

Kindly help asap .

Thanks,
Lakshmi
9  soapUI / soapUI / require groovy script to capture Set Cookie id from HTTP Header table on: June 28, 2008, 01:12:15 am
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,
Lakshmi
10  soapUI / soapUI / Re: The sample project fails when run on: April 28, 2008, 12:34:28 pm
Hi,

Have attached the snap shots of the Http log and the error log.The messages in these logs were empty.

Kindly also find a text log file attached for the same.


Regards,
Lakshmi
11  soapUI / soapUI / Re: The sample project fails when run on: April 25, 2008, 01:31:30 pm
Hi ,

I tried what you said in your previous reply but tool hangs.
The stack trace that i am getting on the command window is as pasted below :
Looks like its asking for some jetty password.


17:57:03,064 INFO  [SchemaUtils] Added default schema from file:/C:/Program%20Fi
les/eviware/soapUI-Pro-2.0.2/lib/soapui-2.0.2.jar!/soapEncoding12.xsd with targe
tNamespace http://www.w3.org/2003/05/soap-encoding
17:57:03,080 INFO  [SchemaUtils] Loading schema types from [file:/D:/sample_.wsd
l/new_sample_.wsdl]
17:57:03,080 INFO  [SchemaUtils] Getting schema file:/D:/sample_.wsdl/new_sample
_.wsdl
17:57:03,861 ERROR [SoapMessageBuilder] Could not find element [{http://www.soap
ui.org/sample/}return_fault] specified in part [return_faultMsg]
jetty.ssl.password :

Regards,
Lakshmi
12  soapUI / soapUI / Re: The sample project fails when run on: April 25, 2008, 11:24:54 am
Hi Thanks for a quick reply,
Well it would be very kind of you if you could give me the steps to start them and run the Sample project successfully
I have a demo to give on this .Kindly do the needful

Thanks in advance
13  soapUI / soapUI / The sample project fails when run on: April 25, 2008, 08:46:31 am
Hi,
I am new to soapui2.0.2 Pro tool and am trying to run the sample project in the TestSuiteEditor. All my tests are failing as it says Connection rerfused.
Could any one help me run this TestSuite successfully.Thanks

   java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.<init>(Unknown Source)
      at java.net.Socket.<init>(Unknown Source)
      at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)

14  soapUI / soapUI / help on any jumpstart exercises reference docs for soapUi 2.0.2 Pro tool? on: April 25, 2008, 08:12:14 am
Hi,

Am new to this tool.Have looked at various features of this tool and looks good.Could any one please tell me if there is any  jumpstart exercises reference docs? manual/doc/ref to start off.Any help in this regard asap will be appreciated.

Thanks
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header