-
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
-
How to Extract/Validate Dynamic Webpage Elements
Parasoft: How to Extract/Validate Dynamic Webpage Elements Description: In some applications, we may come across dynamic elements whose ids/xPaths change every time the web page reloads. This can become challenging to extract/validate such elements. Below are a few techniques used to handle dynamic elements. Solution:…
-
C/C++test Data Flow Analysis Performance Debugging Log
To get information about how long it takes to process each file and how long it takes to do each of the Data Flow (Bug Detective) analysis phase, set up the following flags in the Parasoft > Preferences > Technical Support > Advanced options (make sure Advanced options are enabled): CPPTEST_TIME_STATISTICS_PER_FILE=true…
-
Updating a soavirt.war deployment with a Windows Batch script
This is a simple script that will allow us to update a soavirt.war based deployment when a new WAR is released SET SOAVIRT_LOCATION=C:\parasoft\SOAVIRTSET UPDATE_FOLDER=c:\parasoft\update\soavirtBackupsSET WAR_LOCATION=C:\parasoft\warsSET WORKSPACE_LOCATION=C:\parasoft\SOAVIRTworkspaceSET…
-
Using System and Environment Variables in your scripts
You can use system/ environment variables in your scripts. Here is a simple example from com.parasoft.api import *from java.lang import Systemdef systemVariables (input, context): #This is for Windows Application.showMessage("COMPUTERNAME = " + str(System.getenv("COMPUTERNAME"))) #This is for Linux…
-
Problem executing soatestcli.exe from the Command-line.
Problem executing soatestcli.exe from the Command-line. I am trying to execute our test suite from the commande line. However, the soatestcli execution always hangs forever on the "Refreshing workspace" step. C:\Program Files (x86)\Parasoft\SOAtest\9.1>soatestcli.exe -data "C:\Users\{Me}\parasoft\workspace" -resource…
-
Web Functional Workflow for the latest version of Chrome / Firefox
Parasoft: Web Functional Workflow for the latest version of Chrome / Firefox Description: The latest version of SOAtest 9.10.0 comes prepackaged with Selenium-Version: 2.53.1. Currently, there is no version of Selenium (non-Marionette) Firefox driver that fully supports Firefox48 and higher. This is not a limitation of the…
-
Creating a Virtual Asset from traffic
Parasoft Virtualize is a powerful tool that allows users to create virtual endpoints for clientside applications to test against. When creating these virtual endpoints, it is useful to be able to do so via traffic files. The steps on creating these files are detailed in the post here. Step 1: In order to create your asset,…
-
What are message proxies and how are they used?
When getting started with Virtualize, it is often a good idea to get ahold of some traffic going from your client to your service so that you have a better understanding of the transport between the two. The best way to do this when using Virtualize is by using a message proxy. * The first thing you will want to do when…
-
"Error: CERT_HAS_EXPIRED" error message within DTP Server
This issue was encountered while working with DTP Server version 5.1.2 If the following message appears in the Node.exe screen on start up: Error getting project list from DTP: localhost { [Error: CERT_HAS_EXPIRED] cause: { [Error: CERT_HAS_EXPIRED] request: { domain: null, _events: [Object], _maxListeners: 10, options:…
-
Filtering violations with PIE that are marked "Do Not Show" in DTP
When you mark a violation in DTP as "Do Not Show", this tells DTP to not show the violation in DTP's Widgets, reports, or in the Prioritization View. The DTP Engines will still report the violations for DTP reports to hide it from you and will publish the results as reoccurring violations. When using PIE to perform logic…