-
Verify multiple siblings in a list
Verifying a list entry is presentI have looked at XML Assertors and XML Transformers in order to verify that an element appears in a list containing a particular description AND a particular id and a particular event. Value Occurrence XML Assertors let you validate a particular value is present one or more times, or not…
-
Minimum node occurance in the response
Is there any way to assert minimum occurrence count of a node in the response? I only want to check if certain element is present at least once in a sequence. Also, is there any way to change the order of the outputs in a given test? Thanks
-
Extracting Optional elements from response
Hi, I am testing a service which returns some optional elements in response traffic. I want to extract them in a method and kick off other tests based on the extracted values. Any suggestions on how can I achieve that?
-
Concatenating Xpath values
Hey guys is there a way to take the xpath values given from a xml-databank (say Test 1:z0 & Test 1: z1) and concatenate or join them together for later use. Or possibly as a script? I looked through the scriptingAPI for a join or concat function, but I didn't look too hard . Thanks in advance, LeapTester
-
How to Transform Expected Value to Regular Expression
Hello! I'm using a test that after execution, provides an element with the following value (used for a posterior test assertion): "VALUE1 VALUE2 VALUE3" Then, I'm asserting a set of fields that contains: "VALUE1", "VALUE2", "VALUE3" , respectively. I would like to transform the first value (stored as a DataTable Parameter)…
-
XPath and Regular Expressions
XPATHHello board members, I need your help once more. I have an XML tag in my result structures that represents the "Date". The value of this tag changes every time a new request comes to my server process. I added the Xpath to my global properties. In particular my Xpath contains /Envelope/Body/SomeWhere/In/Time/Date/,…
-
(Jython) How to read the contents of a file into a String
using JythonTo read the contents of a file into a String using a Jython script you can use the following method: CODEfrom java.lang import * from java.io import * from soaptest.api import * def getContents(input, context): contents = StringBuffer() reader = BufferedReader(FileReader(File("c:\Documents and…
-
New Test Suite Is Greyed Out
i tried to create a new project and a new .tst file. No problem with that but the Test Suite is greyed out. Why is that ? Project-1 \ \____ Tst-1.tst \ \______ Test Suite <=========== This is greyed out !!! \ \____ Environments
-
XML Assertor - String Comparison
Hi, I want to test saving data and then verify that the saved data is returned in the xml reponse from a REST service call. The response xml looks something like this (except there is much more data than presented here): <?xml version="1.0" encoding="UTF-8"?> <response> <DataDictionary> <complexType state="3" uid="341"…
-
File scope test with symbols in 2 .cpp files
I have the following: IWidget.h: class IWidget { virtual ~IWidget(); }; IWidget.cpp: #include "IWidget.h" IWidget::~IWidget {} Widget.h: #include "IWidget.h" class Widget : public IWidget { virtual ~Widget(); }; Widget.cpp: #include "Widget.h" Widget::~Widget() {} When I try to write a test for the Widget class, I get…
-
Visual Studio 2010 Support
anticipated official supportIs there currently a timeline for official support of visual studio 2010 sp1? Thank you
-
How to save information from a looping Scenario into a CSV
A helpful tool to store information from a test scenario execution is to use the Write Tool. However, once the test loops, it may be difficult to save that data in an organized way. Using this set up, you will be able to save all the information in a CSV file, which could then even be used in future tests. First thing you…
-
Where can I find the Jtest users guide?
The Jtest user's guide can be accessed from 2 locations: 1.) From Jtest/Eclipse UI. From the top menu bar, select "Help > Help Contents", and the jtest users guide will be available from "Contents" pane on the left-hand-side. 2.) From the installation directory of Jtest: <PARASOFT_INSTALL_DIR>/Jtest/9.1/manuals/
-
Why are unused sockets created during load test?
It happens several times during the test that the tool connects to the server but never sends anything in the socket.
-
Add reference to Global DB Tool?
I am facing issues while adding a Reference to DB Tool. I am not able to add output to the "Reference to DB Tool". Here are the steps: 1. Created a DB Tool under Global Tool. 2. added xml data bank to this DB tool. 3. Created a new test and added reference of this DB Tool - now i am not able to see Traffic and xml data…
-
Adding multiple Responses to stub client
while adding multiple responses to stub client, I see that I can add only one element as part of the input. Are there any ways where i can add multiple responses for multiple elements. Thanks, Ash...
-
How can I deliberately send 'bad' XML
I'm developing a suite of tests against an Enterprise interface. As part of the tests, I need to deliberately send a mal-formed XML message, say one that is missing a ">" on a tag. I'm using SOATest version 9.0. How can a make SOATest send such a badly formed message?
-
Problem in parameterisation of assertion
Hi, I am using the store wsdl for my project. (http://soatest.parasoft.com/store-01.wsdl ) I was using the getItembyTitle operation where in you mention the itle an dyou get the details of the book. Initially, i gave title as Java and added a XML assertor to asset the id. For assertion I added an excel which contains id…
-
Install root certificate
Hi , Is it possible to install the SOAtest root certificate after installation of SOAtest . If yes please let me know how I can install that. Thanks
-
Access incoming request xml in stubs
Hello, We have the below requirement. We are using SOATest as the stub server environment. When a stub is invoked by the webservice client the stub should read a specific value in the request xml (SOAP message) and populate the response element with the request value. How can we implement this intellegence into the Stub?…
-
How to recover projects in Test Case Explorer after SOAtest crash
While updating test suppressions in a SOAtest project, SOAtest crashed and wiped out all of the projects that had been set up in Test Case Explorer. How do we recover those projects and the configurations that have been applied (e.g. suppressions)? Thanks
-
Using pfx certificates with Parasoft SOAtest
Adding pfx certificates to the Keystore to access HTTPS web servicesHi, I have a small issue in using pfx certificates with SOAtest. I am trying to test services against https endpoints. I have already followed the documentation about installing certificates and keytool import. But keytool accepts certificates of type…
-
Restoring License Server Configurations
Should License Server for some reason become corrupt or configured incorrectly beyond reasonable measure, and you have a backup of the License Server configuration files, you can restore License Server back to its original state. As a measure of precaution, please shut down all Concerto services before proceeding to…
-
Restoring Team Server Test Configurations
In those unlucky circumstances that things go badShould you find yourself with a test configuration stored in Team Server that's either gone missing, corrupt, or badly modified in some way, here's a few simple steps to get you back on your feet again: If you have the desired test configuration files already exported to…
-
Tip: Applying an Iteration Template
Save time adding common Tasks to a new IterationOften times when Project Planning future Iterations (Sprints), there will be a list of common Tasks that need to be added to that Iteration. To fast track the process of creating an Iteration with common Tasks, do the following: 1) Create your new Iteration that you are…
-
SOAP Response element extract
Hi, From the soap response , how do I extract the only required values and write it separate file . ex: my soap response contains <name> Puneeth </name> <SSN> 143333 </SSN> <age> 24 </age> so here I just want to fetch the ssn and write to output file , rather than writing all details . Thanks.
-
Queue configuration
Hi I have two source Queues A1 and A2. Also two target Queues B1 and B2. A message is taken from Queue A1 and delivered to Queue B1. At the same time i need the message to be taken from B1 and put into B2. How can i configure SOAtest to achive this step.? Kindly help me with the steps to achive the same Thanks in Advance…
-
Queues to FTP
Hi Is it possible to read the response from a Queue and put the message to an FTP source. Is there any jar file that could help me achive this Thanks in advance Aadith
-
MQ feed
Configuring MQsHi I have two MQ managers parameterised. I also have the put queue and the get queue. What i need to do is I want the put queue to be configured to the first MQ manager and the get queue to be configured to the second MQ manager. Is there any way to achive these using SOATest tool. Kindly help me out. Thanks…
-
How to extract URL from response of one test and launch that URL in a separate window
Launch URL from response in a browserI am trying to grab the data from <sURL> returned from one test and launch a browser with the URL data in SOAtest. The goal is to continue the web functional testing separately. Here's what I have tried so far: Add Output > SOAP Envelope > XML Data Bank > Add XPath Add Output > SOAP…
-
Question about leak_search [on|off] in .psrc configuration
Insure++ configurationHi We run insure++ for memory leak checking in the following environment: OS : Linux 2.4.21-4.ELsmp #1 SMP Compiler : gcc 3.4.6 Insure++ : 7.1.6 We are confused as to what the option leak_search is doing internally. Having looked at this post http://forums.parasoft.com/lofiversion/index.php/t130.html…
-
Environment/Global variable substitution into xpath
I have an environmental variable. How can i submit in xpath of an element. For example : Actual xpath is: //tr[td = 1000]/descendant::a[position()=1] Need something like: //tr[td =${CID}]/descendant::a[position()=1]
-
Environment Variables
How to add environment variables to an Extension Tool TestHi, I have an extension tool task that generates a random value. This random value is formed by a fix value + current date + randomvalue. The fix value is stored as an environment variable, that changes in any environment I would like to add this value to the code,…
-
Change of Style Architecute :- SOAP to REST
Hi all, I had a query that actually takes in to account change in implementation of Web Services using style architecture. In our current project , the Web Services are implemented using SOAP style architecture. But it may be the case in future when the style of architecture can be shifted to REST based style of…
-
Automate interaction with Windows dialogs/windows using AutoIt - not needed SOAtest 9.0 and higher
Plus IE modal/modeless dialogs (now handled natively)During recording and playback of functional tests in the browser, SOAtest can handle web applications that create multiple windows. During recording, SOAtest detects the window in which you perform an action (click, type, etc.). SOAtest stores the window information,…
-
Testing of Microsoft Foundation Services
Hi, I just wanted to know if Parasoft Soatest supports testing of Microsoft Foundation Services with WCF , WWF protocols and LInQs services. If so, where can I find a user manual or guide to do the same? Thanks in advance
-
Update data into write file through coding?
Hi, I have a scenario where in I have to get values from the response xml of my first operation and set them as input to my second operation. I was thinking of using a writable data source where in I could get the dynamic values and set it as input to second test. Can I use an extension tool to somehow write a code to…
-
Test File Size Growing
Test files growing without significant changesOne of our team members posted the following to our team forum: Increase in file size of the script.For instance,Cause_ServerTC.tst script's size was 58,260,864 bytes on December 2, 2010 11:56:11 AM I am in process of making all the "Constrain request to WSDL" checked and noted…
-
Looking for ways to improve SOAtest performance?
Are you looking for ways to improve the performance of SOAtest? Though the next release of SOAtest will have some performance improvements, I've compiled a "checklist" of things that you can do to improve the performance right off the bat (keeping in mind that the recommended system requirements are: At least 1 GB RAM per…
-
Verification using SOAP Response using external java class
Hi I have requirent where I have to use a SOAP Response parameter say id and use a external JAVA program which takes this id as a parameter and should return PASS or Fail if a SQL query passes using that id parameter . Not getting exactly how to pass a soap reponse value to a external Java Program. Standalone Java program…
-
Not able to execute Tests from Command prompt
Hi, I tried invoking the soatestcli from the cmd but kept getting the message Error: no license to execute soatestcli. I have the Parasoft Soatest Professional edition license. How can I use soatestcli and run my tests from the command prompt? Thanks A lot
-
Test Setting
Hi, My question is: Can i set the tests to run at a particular time of the day and a particular number of times? Can I change or customise the test setting ? Thanks a lot!
-
Stub deployment
Hi, I have created a stub which I will be using instead of the actual web service provider. I am trying to configure the stub to return a particular response, based on the value of a node attribute of the request. However, these conditions are not being evaluated and the stub returns None of the multiple responses XPath…
-
Parameterize jython for reuse
Hello, I have jython scripts to randomize words from a string as an input. I want to store these scripts, say, at the suite level and parameterize them to use in any .tst file in the suite. How may I do this? Thanks!
-
SOAtest 9.10 Tutorial - Connection timed out:connect
SOAtest 9.10 Tutorial - Connection timed out:connectI am new to SOAtest and started following the tutorial document to get some hands-on experience at work. However, the error "Connection timed out: connect" comes up when tests are executed. Could this be a firewall issue? Is there a workaround for it? Thanks.
-
Calling test steps using extension tool
Hi I have a number of rest client steps in my test suite. How do i use the extension tool to call these test steps. Also i want to send values from an external data source to the test step. How do i do it. Should i make any changes in the rest client steps to achive this. Thanks Aadith PS
-
to view traffic in the reports generated
Hi, I am using Parasoft SOAtest 9.1. As of now, when I generate reports,I can view the number of test cases passed, failed , executed etc. How can I view the request-response traffic in the reports? as in, how do I generate reports that include the request-response traffic? Kindly answer ASAP thanks a ton!
-
Using Java API calls from SOAtest
Hi, I am working on a project where we need to do some load testing against a third party Java SDK API. I know the method calls, which are just search executes and have some of the Java code to call these methods. However, I am not familar with how to use SOAtest to do some load testing against this third party product.…
-
Using Quality Center Field value for SOAtest script execution
SOATest 5.5.3 and QC APIHi I am using HP Quality Center10.0 for executing my Parasoft SOATest Script using the Javascript API of SOATest-QC. I wanted to use the value of a field in Quality Center Test Plan Details tab. Basically: I have added a field in Quality Center 10.0 Test Plan -->Details Tab. Field Name is…
-
Web Service Interface question
Hi, When using the Web Service Interface is there any way to override the active environment in the project? I'm executing SOATest scripts from HP Quality Center using the VAPI-XP interface. Thanks, Brian