Forum Discussion
JimL
14 years agoContributor
Finan wrote: Can you show the raw request? From what I can see, it should work....
Hi,
I figured out how to get SOAPUI to display the RAW (Had to go into preferences==>UI, and check the "wrap" option), and in the process of doing that, I was able to figure out how to get at least part of what I'm trying to do working.
So, here's the XML (non-RAW) again:
<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">${#TestCase#dnstring}</saml:NameID>
</saml:Subject>
and, here's the RAW:
<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=test1,dc=whatever,dc=com</saml:NameID>
</saml:Subject>
The text file has:
requestid =id-1234567
dnstring =cn=test1,cn=users,dc=whatever,dc=com
Now, I need to figure out how to do what I *really* want to do (have the test case run with a bunch of different set of requestid/dnstring values.
I originally was thinking to put all of the sets of requestid/dnstring values in a single big text file, but now I'm thinking that I should have one text file for each "request", i.e.:
testprop1.txt
testprop2.txt
testprop3.txt
.
.
etc.
where each testpropX.txt file has a different set of values for requestid and dnstring, and then be able to run the test case under a load test, and have SOAPUI send in the requests, rotating through the different testpropX.txt files?
So, can anyone tell me what I need to do to what I have thus far to do that?
Thanks,
Jim
Related Content
- 4 years ago
- 3 years ago
- 6 years ago
Recent Discussions
- 3 days ago