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

Tandav Dutta tandav.dutta at gmail.com
Sun Jan 20 07:24:19 PST 2008


Sameer,

got some hints on data-driven tests .... need to explore more ....

http://soapui.org/userguide/scenarios/datadriven.html

http://soapui.org/userguide/scenarios/templatedriven.html


On 1/20/08, Khan, Sameer <Sameer.Khan at ca.com> wrote:
>
>  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.
>
>
>
> *-* <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
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cake.pushtotest.com/pipermail/users/attachments/20080120/39587c3f/attachment.htm


More information about the Users mailing list