The most recent content from our members.
How to get the environment variable value using jython in soatest? I need to pass the Env Variables in the service request file with scripted option, How can I pass it? I have used the following option but get the NONE result. def getTestCdValue(input,context): testcd =…
I have an instance where the incoming request will be a Hex string that is preceded with ">>>" and ends with "<<<" Ex: >>>1601 0200 <<< I wanted to know what is the best way for me to skip the three arrows preceding the hex string and after? I want to skip the first three arrows and just deal with the hex string in-between
Hey guys I think i'm running across some transaction timing issues with my test cases which may be causing some data corruption at my service endpoint. I've been toying around with the folder level test case logic features but I can't seem to get what I want. Is there a way to put a pause in top to bottom execution per…
Hello, I'm trying to import a module in Jython but I'm getting some errors. I first go to Windows > Preferences > PyDev > Interpreters > Jython Interpreters and add the jython.jar found in the installation URL: C:\Program Files\Parasoft\Test\9.10 for SOAtest &…
Hi, I'm trying to access values inside of a data repository on a Message Responder script. I have "use data source" checkbox checked. Code Below: import com.parasoft.api.*;def messageResponderResponse(context) { String dataRepoVal = context.getValue("root Data 2","AccountNumber"); Application.showMessage("DEBUG VALUE: " +…
Hi, I’m trying to get the existing value in my Data Repository in column soloAccountNumber to be displayed to the console. Instead of showing the value that’s already there, it always say the value is null. The goal is to check if the data repo has a value, if its null, return the the value generated from Data Generator…
I want to fetch data from XML and put it into an excel. My XML data is like: ABC 123 I want to convert these data in Excel in table format
I have an application that can created a PDF report of the data displayed on the screen. Is there some way for SOATest to verify that the report is created when the button is clicked? I only need to make sure that the PDF document is created. I don't need to examine the contents of the document. Would the Extension Tool…
The following forum post goes into detail on creating scripts to better handle changing values during performance tests with multiple hits in parallel. We will do this with the use of Atomic variables and in the case of this forum post example, specifically AtomicLong. AtomicLongs and the other Atomic variables are part of…
I have a script which is using a table data source within Virtualize. In that table there are two columns, num and ID. The value of num is extracted from the request via XML databank and is stored as a variable in the responder suite, titled key. Key = num I have another variable that stored the ID value in a variable…
It looks like you're new here. Sign in or register to get started.