-
Test suite failing
I have multiple tests inside Test suite, all test are passed while running them separately. all of them fails when i run it together. Like I selected Test suite-> Executed, all test fails instantly. When i run the test individually its passed and also it took sometime to complete. i tried test flow->adding time etc..it…
-
Getting license error when starting Virtualize Server in CLI mode
Hi, I tried putting my license details in properties file and ran below command : virtualizecli.exe -startServer -locals ettings "C:\SOAVirtualize\VirtualizeExportLocalSettings.properties" However, I still get license not valid/applicable. Can someone please help here. I am using this setting in properties file :…
-
Not able to add tst file.
Hi I am new to SoaTest and i am unable to get the option "Test(.tst) file" in Add New tab when right click on any Project. Also when trying to add test file via FIle>New>Test(.tst) File, it opens new window where we give file name. But Next button remains disable after giving the filename. How can i resolve this???
-
Variables not resetting as expected
Good afternoon, Recently I encountered some unexpected behavior while iterating through an excel data source. The scenario plays out like this: * Excel Datasource. Range 1-3 * Test 1: Authenticate 2.1. Traffic object. Groovy extract session token and context.setValue("var_token", token) * Test 2: GetAccountInfo. Passing…
-
Scripting: How to write to datasource?
I'm sure it must be possible to write to a Writeable Datasource from a script. I just haven't figured out how to do it. This is my script: import com.parasoft.api.*String setRequestId(ScriptingContext context) { String orderId = '023' + new Date().format('yyyyMMdd') int productId = Math.abs(new Random().nextInt() %…
-
Unable to assert DB tool result as its returning in String
Hi , DB tool's result is returning in string, So unable to do assertion or keeping in XML data bank. Please let me know how to convert to xml and assert . Thanks, Satyabrata Das
-
I am getting error "Invalid XML input: Character reference  is an invalid XML character" while
Hi All, I need the data to stored in xml data bank , so that i can compare with REST response. The query is running fine without xml databank and giving the invalid xml error after adding the result as XML databank. Please let me know how to fix this issue. Thanks, satyabrata Das
-
How to use Parasoft Dynamic stubs #5
Hello Community, I am a first time user of Parasoft's dynamic stubs. I am evaluating this feature as an alternate to using Google mock. Can stubs be created for functions in the same class (C++) or same the same file(C)?
-
How to use Parasoft Dynamic stubs #3
Hello Community, I am a first time user of Parasoft's dynamic stubs. I am evaluating this feature as an alternate to using Google mock. When generating stubs, does C++Test automatically generate the code inside the stub to support Dynamic Stubing or does have a human have to write the code for the dynamic stub? As an…
-
how to use Parasoft Dynamic stubs #1
Hello Community, I am a first time user of Parasoft's dynamic stubs. I am evaluating this feature as an alternate to using Google mock. If I have a function: void Func1() { int a = 1; Func2(a); a++; Func2(a); } In my test case for testing Func1, what is the appropriate Dynamic Stubs calls to validate the first time Func2…
-
How to connect H2 Database server using Parasoft SOATest
DB screenshot: SOATest Screenshot: table is not yet created in H2 database which has been created using soatest. Kindly help me on this.
-
How to pass license argument to SOA Test clli
Team, We have a seat license purchased to specific to the server that we process CTP. There that license to be passed as argument to run the SOA Test clli. Could you please share the argument fot it
-
How to run Powershell commands within SOATest ?
Hi, Can someone please help me know, How to run Powershell commands within SOATest tool. I need to have a SetUp test added to execute few PowerShell commands to do preliminary setup to execute my tests. Thanks.
-
Best Global property tool to access Yaml file config data from bit bucket
Team, There is a situation where i need to update the config file back and forth before hitting the service. I did used Browse, browse play back tool. Given bit bucket url is direct url for config yaml file. Any inputs is appreciable. My desire need is to update and commit, first thing i am looking to access those yml…
-
Any way to update bitbucket code while Test Execution
Hi Team, There is a requirement where we need to update the bitbucket config file for the prestup of test run. Any possible to update and commit config using bitbucket Any option to run github commands?
-
Comparing Responses to Files
I have two rest calls. The first one gets 'id's". I populate them in a Writable DS. I loop thru the Writable DS using the id's for the second rest call. I want to validate the response to gold copy files that are in a fileshare (10 id's in writable against 10 JSON). If I use a "File DS" then it will validate against all 10…
-
How to increase Continuous Testing Platform Marketplace Virtual Asset upload size limit
You can increase the upload size limit by doing the following: 1.) Shut down MySQL and Tomcat 2.) You need to edit the my.ini file in the MySQL installation, specifically you need to add: max_allowed_packet=100M 3.) Turn on MySQL and Tomcat Keep in mind that private marketplace items you upload get stored in the database.…
-
Possible cause for not being able to log into Continuous Testing Platform using Internet Explorer
If you are unable to log into Continuous Testing Platform with Continuous Testing Platform, make sure the domain name does not include an underscore '_'. Using an underscore in the domain name is a violation of RFC 1035. That said, IE silently drops all cookies for that host on a domain that uses an underscore. Although…
-
Installing the Parasoft SOAtest test type into HP Quality Center 11 on a Linux machine
1) Back up any Custom Test Types and Extensions already present in the installation \application\CustomTestTypes \application\Extensions This prevents them from being overwritten when the SOAtest test types are installed. 2) Extract the contents of the ZIP file that is shipped with SOAtest. /integration/HP to the folder…
-
Control the execution of tests in a referenced test suite from the parent test suite
Example Use Case Question: You have a test suite that contains many authentication procedures that you need to use in order to do your functional testing, but your scenarios only require you to execute certain authentications when performing certain tests. How do I control the execution of the tests in the referenced test…
-
Resolving Tibco RV connection issues in Windows 7
Windows 32; Windows 64 This article will outline a potential issue that may arise when migrating from an existing installation of Tibco RV on Windows XP to Windows 7. We will also provide a solution to the following error Failed to open Tibrv in native implementation. The standard version of Tibco RV that will be present…
-
Validating which cacerts file Parasoft is using
In the Security preferences section of SOAtest or Virtualize, there is an option to "Use default Java cacerts file" as the trust store for server certificates. However, depending on which install of Java SOAtest/Virtualize is using, the cacerts file may vary. This article explains how to find the location of the cacerts…
-
How to Configure the Number of FTP Client Login Attempts
Problem: In SOAtest 9.5 (or older version), the FTP client will login with the same user credential 6 times if the provided credential is incorrect. This often will prevent the same user from connecting again since the account will be locked due to multiple failed logins. Here is the response: Starting FTP Session:…
-
Databank attached to browser testing tool causes "No data source column named" error
When performing an extraction after a browser test and using that extraction to define the element in the very next test, an error stating "No data source column named..." is thrown. This article explains how to avoid this scenario. Take a look at this setup: User-added image In this scenario, Test 1 uses a Browser Data…
-
Pre/Post Browser Contents does not displaying on 32-bit Linux machine
The following steps resolve the render not displaying on 32-bit Linux machines: Shut down SOAtest if it is running In the SOAtest installation directory, navigate to: eclipse/plugins Move out the x86_64 version of the com.parasoft.xtest.mozilla.xulrunner.eclipse.core.web plugin directory to a different directory (such as…
-
Example of datagroupConfig and environmentConfig cli options
This article builds upon the explanation provided in the SOAtest Documentation under the following section: https://docs.parasoft.com/display/SOA9103/CLI+Options XML Files for datagroupConfig and environmentConfig The files are specified in the following format: Make note of the forward slashes to separate directories…
-
Failure to Start Monitoring Error on Remote Proxies/Assets
This is a checklist of things to verify if you receive the error "Failure to start monitoring on . Make sure event monitoring is enabled on the server." Being able to monitor the event in Virtualize can be an essential component to determining the flow of events and possibly pointing out where an issue may be occurring.…
-
Error in XML Data Bank with strings that contain "&"
Hi, I have a REST service that I am testing by querying a database for some name values and asserting these values against the service response. The issue I came across is that some values returned by my query contain the "&" symbol and when it tries to get that stored into an XML Data Bank, the whole test fails with the…
-
svn revisions in xml report, JTest 9.6.0
I need to have svn revisions and commit messages for found violations in XML report after static code analysis using JTest 9.6.0.20151130 I did manage to get this when starting the analysis from within JTest IDE manually. But when I do the same using command line tool jtestcli.exe svn related information is not present in…
-
Script to bypass user input automatically
I need to call a executable that requires entering a password manually after it is executed. What I want to do is use the external tool to pass in 2 parameters which one of them is the value the executable prompts. I need this to run automatically by entering the password automatically. Has anyone done this type of…
-
Multiple response for single request
we are using parasoft virtualize tool. We need to send the multiple responses based on single request in single asset. We have tried the multiple responses option but its static and we need to do dynamic and needs more changes than static one so we have used java coding. but there is no solution to send multiple responses…
-
How do I read the data from the XMLdataBank through groovy and then parse that XML
I have a SOAP request which gives XML response. I created one XMLdatabank and mapped the respective node which has children to a variable in the XMLDatabank. In the extension tool I try reading that data of that variable through groovy but it is returning NULL. I was able to do it with the Json response but not with XML.…
-
Having difficulties in using environment based data sheet in Environment Manager
We have QA1, QA2, PRE-PROD environments configured in environment. Each one has configured different environments and the test data file is also different. In local, i have used teh excel path in an environment variable which maps to the Datasheet path. Same is not possible with CTP, CTP is asking for valid xls, .xlsx file…
-
soatestcli unable to execute scripts having java code.
I am trying to run soaest scripts using soatestcli but ending up with lots of java code error saying "class not found." as I am using localsettings in this case do i need to make any changes so that my classfolder should get loaded along with scripts when run by soatestcli.
-
Using Session Tags in DTP
A Session Tag uniquely identifies results for a test/analysis run and used to distinguish it from similar test runs. There are three primary use-cases for session tags; 1. when running the same tests/analysis against different branches 2. when running the same tests/analysis in different environments 3. when running the…
-
localsettings.properties File Generation and Population
localsettings.properties files store important information regarding Parasoft tool's stored configurations as well as project parameters. A localsettings.properties file is required to utilize CLI integration, back up an installation, or transfer configurations from one installation to another. For 9.x dotTEST, C++test,…
-
Upgrade Process for DTP
Upgrading from a Previous Version of DTP (5.x to 5.y) Before upgrading from previous versions of Development Testing Platform, make sure you read the following sections below for more information and make sure all necessary adjustments have been made before proceeding with the upgrade: •Preparing for Update or Migrating…
-
"Invalid Configuration Location" after installing the tool
If the following window appears when a User is trying to launch the Parasoft tool: Invalid Configuration Location pop up. This message is reported by the Eclipse platform used by the Parasoft Tool when there are some problems with caching Eclipse internal data in the folder "configuration", usually located under…
-
Finding your Machine ID
Solution If you want to capture the machine ID, you can do so using one of the following methods: Method 1: if you are using the GUI. From the menu click on "Parasoft" and select "Preferences..." Then when the Preferences dialog appears be sure to expand the "Parasoft" tree on the left hand side and then select "License".…
-
Parasoft Event logs
Hi, Can we save parasoft event details in a file or in any log to access later?
-
Parasoft Findings Plugin
Parasoft Findings Plugin... While implementing it I came across one problem.. Jenkins is configured to pick the test pack from SVN. When the jenkins job is triggered it looks for the batch file in the workspace in SVN & then triggers the command line CLI to run the tests. After the test is finished it writes the report.xml…
-
Screenshots on failure for browser tests using Selenium WebDriver
As of SOAtest 9.10.2 you can automatically take screenshots when browser tests running with Selenium WebDriver fail. This lets you see what happened in the browser even if you weren't able to watch it happen during the test run. SOAtest can save your screenshots to a folder or embed them directly into HTML reports. For now…
-
How to unsubscribe using MQTT
Hi Team, Can you please provide the steps to unsubscribe using MQTT . Thanks, Swapna
-
Getting the Virtualize licence issue if we would have the enough licences while virtualizing the ser
Hi Team, We are having enough licences but still we are getting the error message as The number of licensed hits per day has been reached. Use a license with a higher limit, or wait until tomorrow when the per day limit has been reset to process additional requests. Attached the screenshot for the same. Kindly take a look…
-
SOATEST: Not able to connect to database while using Oracle 12.2 JDBC drivers
I have been using Parasoft SOATEST 9.9 and was using it to develop and run my web services tests against our server(which uses Oracle 11g drivers). Recently our servers got updated to use the Oracle 12c drivers(12.2.0.1) and I replaced my earlier oracle.jar , in the Parasoft workspace to 'ojdbc8-12.2.0.1.jar' ( I renamed…
-
How to have two variable conditions in Test flow Logic
I have two variable check for test execution, how do i make variable condition for this.
-
SOA Test DBTool is returning Null value for correct query
Hi, DB tool with Oracle is returning null value. The same query in Toad returns valid record from DB. Sometime if we execute DB tool multiple times it might reflect any record (which is intermittent). Also if we parameterize the query it shows record for only for the last parameter(in-case if it returns any record) Even I…
-
is there any other way to get get header response other than Header Text data bank?
Team, There is situation where i wanted to see whether the header is present or not. isPersent - working fine with Text Data bank. when the same text is not present test is failing- any other possibilities like xml Data bank?
-
Could not find a valid Message Responder to respond to this request.
Hi Team, I have created virtual asset ad deployed successfully(WSDL) ,Can any one help me,how to call the wsdl operations from the deployed wsdl? WSDL:http://soaptest.parasoft.com/calculator-02.wsdl Virtual End point: http://localhost:9080/glue/calculator/ getting the below error message while calling the add operation…
-
How to add additional server in LoadTest as a slave
Hi Team, I got the server information, where the Parasoft load test is installed. But i couldn't find in the available machine list in the machines tab. is there any way to this particular server as slave.