Sean_Paterson
17 years agoOccasional Contributor
How to transfer a dynamic property to subsequent test steps?
Hi, I am using the soapUI 2.5 beta1. I have a test case that starts with a Properties API step. I use it to set dynamic values for sessionid and username properties, for example username = ${="API_PerfTest" + (int)(Math.random()*10)}. A subsequent test request step uses this username property by using ${Properties API#username} between the tags. So far so good. I then wish to make use of the actual (RAW) username value that was used in this test request step so that it can be read into another test request step. I have tried using a Property Transfer step but it does not seem to be able to capture the RAW value that was previously used. Consequently the following test request steps fail. How do you advise achieving this? BTW - I am a first time user of soapUI and I really like the tool, although I am not familiar with Groovy and never done any Java coding.