The most recent content from our members.
I need some assistance with this issue. A teammate is trying to set up a responder correlation based off a value incoming from the request service. The issue is that this value is within the element and I need to set up correlation based on that specific value / id within. The section of the request body contains that…
I want to check text from an element that is inside another element. So I want to verify that text form div class="alert" is the correct one. But selecting this div from the validation tool does not work. My first though was to extract the text using javascript. So * Element locator = Use script * Language = Javascript…
I have tst file loaded to CTP. All the test scripts have a field which is linked to a javascript file to get unique value. However, when i ran the tst in CTP, scripts are failing because javascript file is missing. I have added javascript file to CTP, but now am not sure how do I call / map the methods to test scripts in…
Hi, I need to decode base64 encoded output of a rest service and compare the decoded result with a value from a database, but I don't know how. I understood that it is possible to decode with javascript, but how can this be done? This is the scenario: * JSON call to a REST service returns a encoded value. * I saved this…
I have a script where I generate a key based on the request. This key is a value listed in the first column in a table, and the script should return the value of the corresponding value next to the key value. Ex: In column 1 my key is A and I need to return the value next to it BC. So far my script results in an error when…
I have an instance where I need to capture the incoming request, and find part of the code marked by an unique identifier and return it as my request for my responders. How can I code this effectively? Here is the code I have so far that I got from another application, but not sure if it works in Virtualize: function…
Hi all, I am trying to split an xml response by using a tag but before that I need to store my response xml in a string variable. I am using JavaScript (as per my project requirement) in custom assertion.Please kindly help me how to store the response xml in a string variable first so that i can proceed with further…
We are working on a new application that is based on Javascript on nodejs for server and Angular for the client.
Want to store data in variable fetching from XML databank in javascript for custom assertion. Can you please help me? For example, In XML data bank I have extracted an element named "Date" In Custom script, I want to store this element in a variable. What should be the syntax?
I need to extract value of datasource column using Javascript and combine it with other values. I see some examples of Jython in the forum. Can't we achieve this using Javascript in SOATest?
It looks like you're new here. Sign in or register to get started.