Forum Discussion

Intermountain_H_3's avatar
12 years ago

Security Tests -- UI Settings

HI All
I cannot find away to change the Ui settings for the Security Tests
by that I mean things like the following
pretty print for request and responses returned
wrap content for raw messages ect

It seems like it ignores setting from the orginal request and response
Please let me know if Im missing setting somewher ect...

Thanks In Advance for your help

5 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    Sorry, but I'm not quite sure what view you are referring to?
    If you click on a Request in the Security Log you should get the Message Viewer where you should be able to use the Formate XML option.
    Could you provide a screenshot?

    --
    Regards

    Erik
    SmartBear Sweden
  • The soap header that we use requires pretty print to be turned off
    the security test seem to default to pretty print true (wraps)
    even though I have the global ui settings set to false and the project setting set to false
    the orginal soapui request sends just fine but the request in the secutiry test fail. because the header is wrapping

    <saml:Assertion ID="Assertion-uuid94df2b88-013b-1826-bb02-c652e21c25bc" IssueInstant="2012-12-13T15:25:51Z" Version="2.0" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">http://intermountainhealthcare.org/</saml:Issuer>
    <ds:Signature Id="uuid94df2b89-013b-1939-9f05-c652e21c25bc" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:SignedInfo>.....................................
    in orginal request is all on one line
    I cannot seem to find away to format what the raw data is sent like in the security message
    let me know if this dosnt make sense
  • Attached a bmp that may explain what Im trying to ask

    Altough we use the WS-Security to create the token . and the aut tag to send the validation

    Im trying to ask how to format the raw data sent in the request and response in the Security testing feature?

    the raw data in the request is sent as one line string in the request generated in my regular soapui testcase/teststeps
    the raw data in the request in the Security testing feature (viewer) in not on one line.(it pretty prints it ) the token falls so the only response I get returned in the Security testing feature is a invalid token validation

    the request data being sent is formatted differntly between the regular soapui testcase/teststeps and the Security testing feature
    regular soapui testcase/teststeps = token is one continues string
    Security testing feature = token is one line per tag
    I have pretty print turned off in global settings and test level settings
    @ it works in the regular soapui testcase/teststeps but fails on the Security testing feature because of formatting differnts
    I cannot seem to find away to format the request and response in the Security testing feature
    If I have missed this feature please let me know
    Thanks for all your help
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi again!

    I've tried to get the wsse:Security header to wrap when using the Security testing feature, the aut tab and the latest version of soapUI Pro, but it's all put on one line.
    Is it possible for you to send us your project file to: http://www.soapui.org/Support/support-overview.html so we can see your setup.
    Also, the image you wanted to attach is not visable. Please attach that to the support ticket as well.

    --
    Regards

    Erik
    SmartBear Sweden