Adding new XML tags to all outgoing request ,automatically

This is community board for the soapUI Community. Here the members can exchange experiences and help each other improve their soapUI testing.

Adding new XML tags to all outgoing request ,automatically

Postby newusersoapui » 21 Feb 2012 20:57

Hi,
I am new to using soapui. I've just started learning it.
I want to add login,paswword and usertype xml tag to the header , like below, to all my outgoing request in soapui automatically. how can I achieve this.

header I want to achieve for all outgoing request

Code: Select all
<soapenv:Header>
<ns1:login soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://api.abc.xyz.com/">abc@xyz.com
</ns1:login>
<ns2:password soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns2="https://api.abc.xyz.com/">XXXXXXX
</ns2:password>
<ns3:usertype soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns3="https://api.abc.xyz.com/">2
</ns3:usertype>
</soapenv:Header>



Thanks. any help would be greatly appreciated.
newusersoapui
User
 
Posts: 4
Joined: 19 Feb 2012 19:52

Re: Adding new XML tags to all outgoing request ,automatical

Postby newusersoapui » 27 Feb 2012 18:47

anyone on this , pls?
newusersoapui
User
 
Posts: 4
Joined: 19 Feb 2012 19:52


Return to soapUI Community Board