Forum Discussion
JimL
15 years agoContributor
Hi,
FYI, to start with, I have created a test suite with 3 test cases, each with a single test step.
The requests in each test step are all the same SOAP message for now:
I have a test suite-wide property defined, "suiteissueinstant", and for now, I'm manually populating that property with the appropriate date/timestamp string, but I'd really like to know how to get SOAPUI to automatically populate that property with the date/timestamp for "now" in the format that I described earlier.
Thanks,
Jim
FYI, to start with, I have created a test suite with 3 test cases, each with a single test step.
The requests in each test step are all the same SOAP message for now:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body>
<samlp:AttributeQuery xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:x500="urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Destination="http://foo.whatever.com:7777/soap" ID="id-hN1ehKe8y0Wr-kpO23UHr3pqi5Q-"
IssueInstant="${#TestSuite#suiteissueinstant}"
Version="2.0"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">http://foo.whatever.com:7777/foo</saml:Issuer>
<saml:Subject xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"><saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">cn=test,cn=users,dc=whatever,dc=com</saml:NameID>
</saml:Subject>
</samlp:AttributeQuery>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I have a test suite-wide property defined, "suiteissueinstant", and for now, I'm manually populating that property with the appropriate date/timestamp string, but I'd really like to know how to get SOAPUI to automatically populate that property with the date/timestamp for "now" in the format that I described earlier.
Thanks,
Jim