-
Shared Map across pva's
I have a requirement to share the data between two pva's. * The first pva responder will generate response. I have to keep/share the data generated in the response * The second pva responder has to access the data generated by the first pva for its response If i m using File I/O facing caching problem. If i would like to…
-
Iterate the datasource values
I have requirment to read a column - all the rows of an excel data source and send in my response. How to iterate over all the rows and fetch the value in the excel data source. Pl. help
-
No. Of PVA's in the virtualize Server
Dear All- Is there any limitation on the no. of virtual services(pva's) that should be deployed in the virtualize server/license ?
-
How to get the report details - test case pass fail count in a script/extension tool
Need to write a custom report so that the results are reported in the consolidated report dashboard . How to retrieve the values for Parasoft SOA test
-
Where can I find the Advanced "How to Videos"?
I have watched the three simple videos that you get when you get in the confirmation email. But I need to learn more advanced stuff like parameterizing the service etc... Does anyone know where I can find those videos?
-
calling web service simply shows Test Failed and nothing in "Response" tab
I am fairly new to SoATest and followed the instructions from tutorials. I am using literal xml with full xml request. When I submit the request, all I see is "Test Failed" in the console and nothing in traffic object--> traffic viewer--> response tab. Similar request works fine in SOAPUI
-
Traffic Viewer does not show the SOAP Response
After successful execution, I see the SOAP Request in the Traffic Viewer but I don't see the corresponding SOAP Response. (SOAtest 9.9 version). For the same SOAP Request, I get the SOAP Response in SOAPSonar tool (We are trying to migrate from SOAPSonar to Parasoft). Can you help me figure out why I don’t see the SOAP…
-
cpptesttrace --cpptesttraceTraceCommand setting
My build command, under Windows, use several different compilers toolchains (gcc, ARM, Microsoft VS), building several different components at once. I would like to collect traced commands only from particular compiler toolchain using cpptesttrace tool. The cpptesttrace trace/collect data from all toolchains (predefined…
-
which version of JSON schema is supported
which version of JSON schema is supported
-
How to read JSON response with JYTHON script.
Hello, I am trying to read JSON response via JYTHON script. h def assertresponse(input, context): value = String(input) #value = input.scannedDate() Application.showMessage(value) The above script will read complete response. 1)I want to know how I can read individual field in response and load the value into a variable.…
-
Virtualize - How to find my current hits/day
In the new service of parasoft, i like the virtualize community edition, but i dont know how to calculate the 11k hits limit per day, please i like that will explain me with more detail
-
Virtualize Community Edition
With the release of Virtualize Community Edition below are some frequently asked questions: Please refer to this video for exact instructions on how to obtain and validate your license https://fast.wistia.com/embed/iframe/8c9iur4w0r FAQs * Did not receive a download link * Check your spam folder for email with download…
-
Parameterization of SOAtest Tests
Hi, I am new to SOA Testing as well as the SOATest tool and hence may be asking a basic question but needed immediate help.I have to run a bunch of tests which are xmls being sent over http.The tool that I am using within SOA Test is 'Messaging Service' which would sent and receive pure xmls. Now , is there a process…
-
Workspace and project path from script
I need to access files saved to my workspace from Groovy script. How can I get the path to my workspace and project?
-
Copying files and directories in test setup
I'm a complete dummy in Java. I have service for which I need to setup a file directory structure in the test setup. I thought of using Groovy scripts to copy the files rather than creating batch files. It seems to be an easy task with Apache FileUtils but I can’t figure out how to use it in my Extension script. I tried to…
-
How to get and set environment variables
Hi, I'm new to SOATest and finding it very difficult to get started. Please could someone help me get and set environment variables using Javascript. Thanks
-
SOAtest 9.0---> WIN32COM.CLIENT
No module found for WIN32COM ERRORHi all, I am currently writing a Jython code where i am needing WINCOM32 Extensible Package .I am dispatching Excel using this. from win32com.client import Dispatch But when i am running the code , it says the above WIN32COM module is not found. Solution we used but not Successfull: We…
-
Cannot start process. Executable not found.
Hi, When I run a c++ test with Parasoft (static analysis), I always get the following message: "C++test analysis errors in MyTest/MyTest/Source Files/MyTest.cxx 1. C/C++ code checker: general failure. Error: Cannot start process. Executable not found." Does any of the members know what may be wrong? Thank You.
-
Help in loading JAVA classes
Hi, I had written a code to apply XSLt on a given XML to convert it to HTML format, in JAVA window of Parasoft Soatest. Then I added the extention tool to one of my teststep in SAOtest window. I chose the scripting language as JAVA, I mentioned the class and added the class path to system properties tab but I was unable to…
-
Jython - ImportError: No module named base64
I am trying to use Jython script but I get this error " ImportError: No module named base64". How do I fix it in Parasoft? Thanks!
-
LOAD Test report not loading after load testing completes
I have SOAP API Test that i am putting load on. Metrics don't load after load tests completes and having to force a stop thereby losing all the metrics. This has been very consistent today. Any help will be appreciated.
-
Reference the project location in Extension Tool
Hi, I would like to get the SOAtest Project Location in an Extension Tool so that I can reference this location to open a file on the system.
-
How to change data source values in xml-request before sending?
In SOATest I have a SOAP-test that takes its values from a data source (an Excel-file). How can I change specific values in the request based on values from the data source? Example: The field "CustomerID" needs to have either a random UUID-value or a specific UUID-value. In the Excel-file the field value is set to "Auto"…
-
How to encode a string to base64
I have a POST request with a string in a body which should be in base64 format. Is it possible to do it from Parasoft? Thanks!
-
I am getting the response which is same as request in traffic viewer after running atest
Hi I am running one booking service . Request is passing through parasoft , but surprisingly after running in the response section it showing the request sent . Can you please help me
-
Static report
Why are my files getting skipped and not checked while testing with the rules? [Static Coding standards 1/21 Skipped:21 Failed Runs:0 Violations found: 0 Number of Rules violated:0]
-
How to test the rest service using web service proxy URL in ParaSoft Load Test
When i test the webservice(Proxy URL) through SOA test, it was successfull. But when i start with tst file in Load test it's getting fail.
-
Weird issue with SOATest data source: closing on save
I have a data source tab in the SOATest project. I have 2 lines in it. Now I want to add a new line to the data source. So I open data source edit and add new line. When I click save, it closes the data source tab. and then I cant find it in the test case explorer, I have to restart the SOATest. and still the new data is…
-
Loop through files in a directory with POST http request for each file
I have the following scenario I need to write automation with SOAtest: I have an http POST request with an image in the body of that request and I have a directory with 1000+ files. I need to run POST request with an image in the body for each file in that directory. Please help. Thanks, Irina
-
Validate response against input file which contians data sets for a column
Need to validate the REST API output with an input Excel file where it has few columns and one column is a data set itself. Ex: COL1, COL2, COL3 ABC, XYZ, DFGH, JKJ FDS, ADS
-
matching an endpoint with a proxy or virtual asset
I think the easiest way to match an endpoint with a proxy or virtual asset would be to open a browser and hit the server with no endpoint. For instance if I were hitting my server to see the enabled virtual assets or enabled proxies I would use http://localhost:9080/ and that would list the enabled virtual assets and…
-
checking the %CPU utilization of your server
The linux command to list the tasks, memory and %CPU is: top If your processes are started by a service account (parasoft). I think you should be able to limit the list to process started by a user by using: top –u parasoft
-
Value or xml assertion on response message containing escaped XML
Hello, I am testing a web service where the response looks like the following: Within the element XMLOutput is well-formed XML in escaped character format. I would like to do XML Assertion on the escaped XML, but I am unable to because XPATH does not work on escaped XML. The question is: how can I perform XML assertion on…
-
Script to capture JSON elements in Excel
Hi Team, I have a situation where i have to fetch the values from JSON response and write those in excel in different predefined columns. I have created JSON data bank and captured the required values. Then i add an extension tool to fetch the data bank values , but now not able to write those values in excel . Need help !…
-
Start SOAtest as a windows service
In some cases it is useful to start SOAtest automatically or as part of a recovery process. Virtualize and CTP are web applications and can be run as a tomcat service. at this time SOAtest needs to be started manually. In this post I will demonstrate how to launch SOAtestas a windows service Install SOAtest as a Windows…
-
Launch DataRepository as a service on Windows
In some cases it is useful to start your Virtualize infrastructure automatically or as part of a recovery process. Virtualize and CTP are web applications and can be run as a tomcat service. DataRepositoryServer needs to be started manually. In this post I will demonstrate how to launch DataRepository as a windows service…
-
Patch method not in drop down I have Put and Post only
I noticed in the method drop down in resources there is no Patch method. Is there a way to do a Patch ?
-
Dynamically generating response schema and data on the fly
Choice type parameterizaton is not supported currently in SOA/Virt but there is a way that you can work around this. You can dynamically build request/response structure (Schema) and data using a data source. Define the Data Source Here is an example of a datasource where I am defining the name of a choice Element and…
-
Generating a Log (Technical Support Archive) to Troubleshoot Errors/Failures
Parasoft: Generating a Log (Technical Support Archive) to troubleshoot Failures/Errors Description: Initially, if a user is experiencing unexpected behavior such as build failures, warnings, or errors, the user should look over the console output, the Quality Task notifications, or the Error view to determine the reason…
-
How to Find the Selenium Version that ships with SOAtest
Parasoft: How to find the Selenium Version that ships with SOAtest Description: It can be helpful to know what version of Selenium is shipped with SOAtest when there are browser/playback complications during testing. This can help us determine whether or not the prepackaged Selenium version is supported by a particular…
-
Creating a Rule for C code
A rule to identify this violation has to be created. "Every file shall have a file header. It should basically detail about information contained in that file in a specific format". Can we try adding a simple python method to do this? or is there a specific node method to be followed. For a template refer attachment
-
Unable to start Development Testing Platform due to "PST_HOME is not set."
If you are seeing the following output: This occurs because when Development Testing Platform is installed it creates a hidden file in the User's Home directory called ".pstrc_${HOSTNAME}" which stores two environment variables needed for Development Testing Platform to start the services. Some probable causes of this…
-
How to configure WebMethods Tool client with Integration Server option in SOAtest 9.9 or 9.10 ?
We want to access some package and service which is developed in WebMethod.We are trying to access the Package and the particular Service with Host,User,Password details ,but we the particular Package and Service getting listed. We added wm-isclient.jar file in system properties path ,but still unable to see the package…
-
Connecting to PSTSec via SSL
Configuring an SSL connection between CTP and PSTSec In CTP we can point to PSTSec to configure users as described in this topic Integrating CTP with LDAP/AD. In this discussion we indicate that you can configure these settings by navigating to the Security Configuration Menu From here you can connect to a the PSTSec…
-
Integrating CTP with LDAP/AD
Everybody who uses CTP should have a unique log in. This allows administrators to define permissions on specific resources as defined in this topic What are my permissions in CTP. Additionally this allows users to fully take advantage of their own unique workspace. The challenge with this is that if you have a large…
-
Logging LDAP/AD in CTP
CTP integrates with LDAP/AD through a module called PSTSec. In order to obtain logging information when configuring integration you need to enable some things in PSTSec. The logging for PSTSec is controlled by the XML file located under “pstsec/WEB-INF/log_config.xml”. This file provides the following instructions for…
-
How to validate non-numeric field is ASC or DESC?
Hi All, type: REST API, method: GET 1)My JSON response contains list of documents, In which I have filename field (non-numeric). I can send a parameter in request to get all the documents sorted ASC or DESC on filename. I want to read the filename in response and check the order is ASC or DESC. 2) same way I also want to…
-
Resolving OutOfMemoryError: Java Heap Space or GC Overhead
Description: When running a Parasoft Test based product, you may see the error: "java.lang.OutOfMemoryError: Java heap space". or "An internal error occurred during: "Building workspace". GC overhead limit exceeded" Cause: This error occurs when Java runs out of memory. Resolution: To resolve this issue, you have two…
-
Before you ask a question
Guidelines about posting questionsIf you are using Insure++ and are running into some problem, please make sure you provide the following information at the beginning or end of your post: OS Architecture (x86, x64, etc.) Compiler Insure++ version If the problem is a compile/link time problem, include your compile/link…
-
how to check response field is sorted asc or desc
Hi All, type: REST API, method: GET My JSON response contains list of documents, In which I have file size field. I can send a parameter in request to get all the documents sorted ASC or DESC on filesize. I want to read the file size in response and check the order is ASC or DESC. Thanks in advance. regards, Neil