Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

In SoapUI, in Rest projects, you can specify PLAIN parameters. (Screenshot: http://www.soapui.org/images/stories/rest/rest-parameter-types.png )

Is there a way to access those PLAIN parameters in a request body (when using the POST method) using property expansion?

From this forum thread I know how to access request properties via Groovy in SoapUI. Does anyone know how to check the parameter's "style" and only use the PLAIN ones? From the JavaDocs, it seems that I'd have to assert something against this Enum, but I don't have access to AutoComplete and so don't know how to get to the property's style...

share|improve this question
    
Looks like the following does the job, albeit not in a pretty way: && "PLAIN" == e.value.getStyle().toString()) Has anyone an idea how to do this comparing to the ENUM or how to get the values using SoapUI's Property Expansion? –  Christian Feb 18 at 19:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.