Forum Discussion

ohaya's avatar
ohaya
Contributor
6 years ago

Is there a way to manage teststep-level properties?

Hi,

Is there a way, via the SOAPUI GUI, the manage (create and edit) teststep-level properties? 

 

I want some of my test steps to be parameterized, with properties at the individual teststep.

 

Thanks,

Jim

2 Replies

  • ohaya's avatar
    ohaya
    Contributor

    I think I have come up with a way to use a Property test step together with a Property Transfer test step to move properties into specific test steps.

     

    HOWEVER, for the HTTP test steps, there are only a few properties under "Custom Properties" and I need to add maybe 1 or 2 "Custom Properties" under the Custom Properties tab for test steps.

     

    Is that possible?  I have searched and have not found a way to do that yet.

     

    WHERE in SOAPUI do you configure what Custom Properties appear for the HTTP test steps?

     

    "So close, yet so far" :(....

     

    Thanks,

    Jim

    • JHunt's avatar
      JHunt
      Community Hero

      Test steps don't have properties in the same sense that Test Cases, Test Suites and Projects do.

       

      Normally you would create a Properties step, then have your test step refer to it somehow, perhaps by using Property Expansion.

       

      For instance, you might set the Endpoint for your test step to pick up the port number from the Properties step.

      http://127.0.0.1:${Properties#port}/

      So, what are you trying to do?