-
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 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…
-
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…
-
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…
-
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…
-
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.
-
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
-
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?
-
Do we have any tool to access Reddis server from Parasoft?
Do we have any tool to access Reddis server from Parasoft?
-
Creating a New Virtualize Java Project in eclipse
H Team, I am not able to find the path as mentioned in the Parasoft documentation to create the Virtual java project in eclispe(Choose File> New> Project. Select Virtualize> Custom Development> Virtualize Java Project) Documentation: Using Eclipse Java Projects in Virtualize Creating a New Virtualize Java Project…
-
java documentation is needed
where do i find the java documentation in the parasoft? please help me on this. Thanks, Swapna
-
I am looking for java predefined classes in the Parasoft
Hi Team, I am trying to create sample java class in the parasoft but it asking for Java class name and method . Please help me on this. Thanks, Swapna
-
Edit/Update/Modify Test response object and write to another file using Groovy script
Hi there .. So I am pretty new to the groovy scripting world and some help on this would be appreciated .. I am writing the response object of a test scenario to a text file on file system. (Response traffic -> Write File ) Now the objective to update the response using groovy script and save it in another file. How to…
-
Iterate through the Database Data Source
Hi, I am current attempting to use a Database Data source to verify result returning from the web service. I've created a simple test suite that included a Database Data Source (DDS) and a simple test. This test would include a XML Transformer and XML Assertor. The DDS contains a simple SQL that return 1 column with 3 rows…
-
Setting Project File Format Without GUI
SOATest supports three different file formats for tsts. Normally, this configuration is made through the SOATest GUI Preferences: Parasoft>Preferences>MISC>>> Save Settings>Project File Format Normally, it is best to leave the default Compressed XML format because of the overall effectiveness of the format,…
-
Authenticate Before Every Test Run
Good morning, Is it possible to configure a test scenario so that no matter where you start the test from the "Authentication" and "Initiate" tests will run automatically? For example: If I clicked on "Test Suite: Test Suite" in the below screenshot to run the "GET-Bill Status" I want SoaTest to Authenticate & Initiate the…
-
Groovy - Asserting that all JSON response elements have content
I have a test scenario with hundreds of response elements and I am trying to script an assertion to ensure that none of the elements returned as null. There must be an easy way to use a wildcard to search the entire response body for a null field, but I can't figure out how to do it. Can anyone suggest a better solution to…
-
Iterating through Database Data Source
Hi, I am current attempting to use a Database Data source to verify result returning from the web service. I've created a simple test suite that included a Database Data Source (DDS) and a simple test. This test would include a XML Transformer and XML Assertor. The DDS contains a simple SQL that return 1 column with 3 rows…
-
How to validate first 15 characters of a string in Diff Tool
I have extracted the header using "Header Text Data Bank", in that environment specific values are there. So i used diff tool to validate against my expected string. On failure used ignore differences, now anything that comes in header is passing the test case. Any suggestions? Note: In that response header text 1st 15…
-
got the result, but test failed in mongodb tool
Error Message: Test failed. Additional Details: No additional details available
-
Not Getting the result in MongoDB Tool
Error Message: Timed out after 10000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=vpsdb-dt-a1q.ula.comcast.net:27020, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSecurityException: Exception…
-
Parasoft Findings plugin now supports Jenkins pipeline jobs
Starting with version 10.3.5 of the Parasoft Findings for Jenkins plugin, Jenkins pipeline jobs are now supported, in addition to Freestyle and Maven jobs. Static analysis, unit test, and functional test results can all get published using a pipeline script. For details on how to do this, please see the documentation for…
-
Extension Tool in Responder_ ParasoftVirtualize
Hi, I am using extension tool(Incoming Request payload--->Extension tool) in responder. i want to convert incoming request which is in .xml into String using Java. Please help me over this
-
Run a particular test in the suite multiple times
Is there a setting in Parasoft SOA which allows the user to run a particular test multiple times??? For example in my Test suite I have test1, test2 and test3, I want to run test2 three times before running test3. Is this possible?
-
How can I store a variable in a data source using groovy
I'm trying to store a Header in a Data Sorce using groovy but I'm not able to do it. I'm using: import parasoft.com.*; String grabHeaderValue (input, context) { String headers = input.toString(); int dateIndex = headers.indexOf("Date:"); int endIndex = headers.indexOf('\n', dateIndex); String desiredHeader =…
-
Get array of response using JSON Databank options
I am looking for easiest options to add comma in between the array of elements. I have an work around to use for in json data bank xpath regular expression. Looking for other parasoft inbuilt options. For example, root/customer/id[1] - One element Expected: root/customer/id[1] - Element1,Element2,Element3,Element4
-
Incremeting the variable declared at scenario level
Hi, I declared a variable(integer type consider x=0) at scenario level. I have a value(consider 3) coming from the JSON data bank. Now I have to increment my scenario level variable(0) upto value(3) that I'm getting from JSON data bank. Please suggest me a way to do that. Thanks
-
Need to connect to DB using Extension tool
Hi, I am trying to connect to a Oracle Database using a extension tool for which i am getting an error saying that it was unable to locate the jar i have specified the Jar in preferences in the JDBC configs, yet it was giving error. My idea of using the Extension tool is that i would fetch a random row from the DB and use…
-
DB Tool in Parasoft Virtualize
Hi, I am using DB tool in .pva and the connection is successful but I am unable to see output in traffic viewer also, I am unable to save the result in xml data bank. Please help me over this
-
Relation between Writable data source setup and test suite execution
Hi Team I have a test suite 1: which extracts and writes to writable data source ds1. Test Suite 2 and Test suite 3 runs based on the data available in ds1. Problem here is **Test suite 3 is not getting data when ds1 has ** Standard test modes : Append Reset Frequency : Per write access The same works fine when ds1 has…