[ptt-users] TestMaker 5: Convert xml scenario to Jython and SOAP parameterization

Khan, Sameer Sameer.Khan at ca.com
Sat Jan 19 23:49:24 PST 2008


Hi Folks, I used soap UI to create a ...soapui-project.xml (which has a
series of webservice operations). I then used the TestMaker5 gui to
create a functional test for this that is basically executing one of
those webservice operation (defined in soapui-project.xml) file. I have
couple of questions:

 

1)       How do I convert my functionaltest.xml to jython? I know there
is TestGen4Web utility but am not sure whether this is the right one for
converting Webservices based functional tests.  

2)       How do we parameterize various fields in SOAP request(s) in
"...soapui-project.xml"? Below is an excerpt from my
"..soapui-project.xml"  file and what if I don't want to hardcode the
field marked in Red. 

 

- <file:///C:\TestMaker5\Tests\Trade6Examples-soapui-project.xml##>
<con:request>

- <![CDATA[ 

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:trad="http://trade.samples.websphere.ibm.com">
   <soapenv:Header/>
   <soapenv:Body>
      <trad:getQuote>
         <trad:symbol>Carl1</trad:symbol>
      </trad:getQuote>
   </soapenv:Body>
</soapenv:Envelope>

  ]]> 

  </con:request>

 

 

 Thanks,

-Sameer

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cake.pushtotest.com/pipermail/users/attachments/20080120/5d452648/attachment-0001.htm


More information about the Users mailing list