cancel
Showing results for 
Search instead for 
Did you mean: 

Parameterization is not working in 3.8.1 in few scenarios

vijita
New Contributor

Parameterization is not working in 3.8.1 in few scenarios

Hi Team,

I have been trying to automate a few scenario's and there are interdependent steps where parametrization is required. But the parameterization is not working in these cases.

Another issue observed is:

the resource URL is not appended to the main URL when parameterization is used. Only when we hardcode the value it is getting appended.

Kindly look into this at the earliest.

6 REPLIES 6
nmrao
Community Hero

Re: Parameterization is not working in 3.8.1 in few scenarios

@vijita,
It is unclear from the attached image
- Where are the properties added?
- How are they used?
Even text example would be enough with details.

Please follow the below link and check once how they are used
https://www.soapui.org/docs/scripting-and-properties/property-expansion/


Regards,
Rao.
vijita
New Contributor

Re: Parameterization is not working in 3.8.1 in few scenarios

Ex: Multiple test suites are present and information from the 1st suite should be used in the second one.

GET call results in first suite to be used by the POST call in the second suite.

The parameter here is not being converted to its value. the steps followed is Get data and then select the value from the GET response.

it remains like:  " "${GET Activity#Response#$['objectId']}", even after running the scripts in order.

nmrao
Community Hero

Re: Parameterization is not working in 3.8.1 in few scenarios

- Have you check the the link given in the pervious repply?
- Have the test cases independent, which helps to achieve automation. But you are trying to have dependency between the suite. Please revisit and make them independent.
- Avoid spaces in the names of suite / test case / steps while providing a way to identify and readable like Camel case
- Would it be possible to create a sample project to demonstrate the issue?



Regards,
Rao.
vijita
New Contributor

Re: Parameterization is not working in 3.8.1 in few scenarios

Yes. I have tried the what you have mentioned. Sure i will be able to demonstrate the same in a sample scenario.

Let me know when we can have this meeting setup.

vijita
New Contributor

Re: Parameterization is not working in 3.8.1 in few scenarios

Hi Rao, 

have tried changing all the names to camel casing(Test Suite, Test case and Test steps) and it started working. but there were few scenarios where it worked even without implementing the camel casing. Please take a look into the issue anyhow so that it doesn't depend on the naming conventions. 

 

 

nmrao
Community Hero

Re: Parameterization is not working in 3.8.1 in few scenarios

@vijita,
I am member like you. If you show the case, probably it would help.

If you think this is issue with the tool, you can reach out to customer support.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors