-
How do I create Mock Services
Hi I have a wsdl file. It has no ednpoints defined. But i want to invoke the service by creating mock response for the wsdl file. How do i achive the same in parasoft soa test.? Thanks Aadith
-
Javaw.exe does not release from memory
After closing SOAtest, "javaw.exe" still exist in the processlist of Windows consuming 200 upto 500 MB memory. Restarting SOAtest will start another "javaw.exe" process. The scripts running with this new started SOAtest, have an unpredictable results. After killing all "javaw.exe" processes and restarting SOAtest, SOAtest…
-
Can one test script use two separate data sources?
Hi, Is is possible to use 2 data sources in 1 test script? Issue: I am comparing an excel workbook with 7 worksheets using the DBTool. Each worksheet represents a test case. The issue is the SQL that is being used to generate the excel workbook is using &Date and &SSN which are referenced on the first worksheet of the…
-
Unable to uninstall Parasoft Test 9.5 after uninstalling C++Test 9.5
uninstall issueI've had Parasoft test 9.5, C++Test 9.5 and dotTest C++ 9.5 installed and using them from VS 2013. We are upgrading to version 9.6 so I uninstalled dotTest, then C++Test. But when I try to uninstall Parasoft Test I get an error message "Cannot unregister Parasoft Test from Visual Studio 2013 because other…
-
Generating PDFs and Email for Reports in SOAtest
Reporting in SOATestHi All, I have following queries on soatest reporting. Really appreciate any response in this regard. Q1 : Is it possible to get pdf report (not html) in CLI mode (using soatestclie.exe), if yes how. Q2 : In order to get test results for a run on email (as email attachment), is it must to have concerto…
-
Using Jenkins to execute Command line interface from another machine
I know it's a long shot, having seen the results in Google, but does anyone have a simple solution for this? We have a Jenkins install and a Parasoft SOAtest (with CLI) install, on seperate machines. How can we let Jenkins execute the command line commands on the other machine? All Parasoft manuals are assuming the SOAtest…
-
Missing Insure++ symbols during linking?
Some versions of GCC and some distributions of linux, (Ubuntu has been observed but there may be others), have added a new linking heuristic, which causes insure++ linking to fail. The symptom will be something like this: insure gcc -g -o freenull freenull.c ** Insure messages will be written to insra **…
-
Installing 32-bit Insure++ on 64-bit Linux
The easiest, cleanest and best way to do this is: 1/ Download the Insure++ distribution package 2/ Change directories to where you want the installation to live 3/ Move the Insure++ distribution package there 4/ enter the command: "setarch i686" -- this will start a new shell, which will convince the installer that this is…
-
Windows Vista support
Does anyone have any experience trying to run Insure++ under Vista with VS2005 SP1? We are preparing for a major release for Vista and would like to know if Insure++ is non-function, semi-functional, or mostly-functional under Vista. Thank you!
-
make -j for simultaneous builds
Just checking if there is any reason the "make jobs" for simultaneous builds would not work when compiling under linux (2.6.9). It appears to build and run fine but I wanted to verify that we are not missing something. This greatly increases our rebuild times, increasing the usefulness of insure++. Thank You
-
Window 7 support
Just checking if there is any indication as to when Windows 7 will be officially supported? (following the official release of windows 7 I suppose!) Also checking if anyone has any experience running the latest version under Windows 7? Thank You
-
Windows 8 support
Is anyone running insure++ under windows 8, or know when this might be (un)officially supported? thank you
-
Using Insure++ as a non-Administrator on Windows
Using Insure++ as a non-AdministratorAs a member of the Administrators group, do the following: * Install Insure++ * Run Insure++ on one of the examples in C:\Program Files\Parasoft\Insure++\examples (e.g. editor_demo). This "warms up" a few files and directories. * Optionally enable user-specific options in the General…
-
Parasoft Virtualize
Can you start posting the Q & A sessions for Virtualize product of parasoft.
-
Passing arguments to a Python script
I have a Python script which is run as an output to an External Tool (note that this External Tool is run multiple times within a test scenario so this same type of script also appears multiple times). The only lines of code that change are for the Environment variable, assignmentSQL, and the file to read, ASSIGNMENT.txt;…
-
Load Test Integration with HP Quality Center?
Running Load Tests from Quality CenterWe currently run SOATest scripts from HP ALM Quality Center and it works great. Does anyone know of it is possible to run Load Test scripts from Quality Center as well? We would love to schedule them from QC to run overnight and have the results available in the morning. Thanks, Andy
-
Automating test execution / report generation
I am looking the following solution using SOAtest 1.. Automating test execution / report generation A> I am using nightly batch process which executes all my test cases and will generate report. B> I am looking for an option to generate an email which includes the test results files (html)- can you please let me know is…
-
Detailed Report Generation
Detailed Report Generation in PASS/FAIL conditionHi, SOAtest is generating very simple report when the test cases passed like below Name Failed Tests Successful Tests Total Tests Success % Example.tst 0 2249 2249 100% But when test cases fail it generates detailed report of what test cased executed and where it failed so…
-
How to perform assertion on XML response having CDATA
Performing asserions on CDATA Block.Hello, I have an XML response as below: <soap-env:Body> <SabreCommandLLSRS AltLangID="en-us" EchoToken="String" PrimaryLangID="en-us" SequenceNmbr="1" Target="Production" TimeStamp="2012-04-03T04:07:08" Version="2003A.TsabreXML1.6.1" xmlns="http://webservices.sabre.com/sabreXML/2003/07">…
-
Unable to add a assertion by custom scripting
I am trying to check if a number if positive or not by using XML asserter. After I have written the code I should get the function name in the Method drop down. But I am not able to see that. The drop down is empty. I have attached a screen shot for the same. Can someone please help me in resolving this? Regards Archana
-
Has Content Assertion
Has Content AssertionI have a question on one of the assertor set ups. I have an operation that uses 20 inputs and I am checking for empty response with a 'has content' assertor. The very purpose of using assertion is to avoid the manual verification of traffic to see if the responses are coming or not, without any errors.…
-
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…
-
LoadTest metrics question
Hello, In a Load Test report, there are tables for Request Time ms, Response Time ms and Ping time ms. Is the Ping time supposed to be the combined measurement of Request and Response? If yes, I'm not seeing the values = that equation. If no, what is the relation, if any? Thanks, Dan
-
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?
-
LoadTest report - missing percentile values
Hi, I am using parasoft 9.0 version. When I run a load test, the report doesn't show the percentile values. All the values show up as 0. Is there any option that need check while creating the test ? Thanks
-
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…
-
LoadTest Report: Total Time Percentage Columns
If you run a Load Test with the "Record individual hits" option turned on, an additional table with percentiles ranging from 10% to 99% will appear in your Load Test Report and Statistics view. I'd like to explain what these numbers mean. Say we have the following numbers from a sample run: | 99% | 95% | 90% | 70% | 50% |…
-
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.