-
How to write a Tear down groovy script with maven dependent classes
Hi, I have a tear down script which is as below: From Soatest perspective if i add the java project in the system properties, it identifies the jar files and the groovy script execute fines. But how can I do it from Java perspective with a maven command. For instance, in the above code LoggerMainImpl class is the one I am…
-
Prevent response traffic recording/capturing in parasoft web tests
Is it possible to prevent the capturing of http trafic response in HTTP Traffic component while executing web tests because tests run deadly slow?
-
How to create platform independent ssh connection?
Hi, newbie SOAtest user here. We are in the process of evaluating SOAtest, and one of the requirements is that our test suites can run both on Windows and Linux. Since both also need to ssh into a Linux box to run commands, the external tool seems out of the question, because it will require PLink on Windows and ssh on…
-
Batch file is not running in the External tool
Hello, I hava a problem with launching bat file in my SOAtest project. I add it into External tool and after attempt to run the test suite bat file wasn't executed. Also I configured this file via Run->External tools and it was executed successful and displayed in the console tab of test tool. Please, can you help to…
-
How to output that a test was skipped to the report.xml
Is it possible to output as an attribute or xml node that a particular test was skipped, to the generated report.xml file? I need to be able to capture that step/test that was skipped in a loop. Thank you.
-
Received fatal alert: protocol_version
I have a testsuite that runs from command line using ./soatestcli -data "/home/was/Ram" -resource "/trouble_shoot" -config "user://Example Configuration" -localsettings "/app/release/jenkins/workspace/Functional_Nightly/qa-distribution/qa/resources/properties/functional-test.properties" -report "/home/was/Ram/Reports"…
-
Validation in SOA Test
Hi, Can anyone let me know how to validate multiple items extracted from specific xpath in different orders in LHS and RHS using SOA tool. Ex: Value is in extracted from JSON and it looks like below LHS: item1 item3 item2 RHS: item3 item2 item1
-
Need solution - REST client sends host URI twice
Does anyone know, why/when does REST client on SOATest send host URI twice ? For an e.g. - If you look at the Request header for RESTful request, then you should see below: GET /home HTTP/1.0 Host: google.com However, I am seeing below in my REST Client - GET http://google.com/home HTTP/1.0 Host: google.com This makes…
-
Simple web recording playback is taking very long
I have a Web test recording that does the following: * Navigate to a website on local machine using Spring Boot embedded Tomcat * Fills out a form with two text fields * Click Submit * Click link The whole scenario is taking 4-5 mins. That seems way too long. Do you know what I might be doing wrong? I'm using: * soavirt…
-
How to assert node rather than node text
Hi Team, I have a data load scripts where i wanted to validate the count of the node name if its available. Example, [{ "product" : "one", "price" : "22.00" }, { "product" : "two", "price" : "10.00" }, { "product" : "Three", "price" : "30.00" }, { "product" : "Four", "price" : "22.00" }, { "product" : Five", "price" :…
-
Running a soatest with excel data source with maven is failing the test
Hi, I am trying to execute a soatest with datasource as excel. Find below the conbfiguration It is working fine when I am executing the soatest Now when I am trying to execute the same test through maven it is failing with the below error project.tst - Test Suite: ParentTestSuite/Set-Up Tests/Set-Up 1: Authentication…
-
Installing Maven from Eclipse MarketPlace
As part of integrating SOATEST with Cucumber, first step is to install maven from eclipse marketplace. Unfortunately maven installation is interrupted in middle & showing error. Looking at many post on different forums it seems the maven version is not compatible with the Parasoft/Eclipse version on my machine. Can you…
-
SoaTest CLI - Excel Data Source - Running Specific Sheet
Good morning, I am attempting to create a SOATest CLI command to execute a .tst and utilize one excel spreadsheet as my data source. When looking through the Parasoft 9.10.3 documentation (pages 75-80) I don't see a command listed to specify a specific spreadsheet. Is there such a command? No spreadsheet option in CLI?:…
-
How to use SOATest Extension Tool with maven
Hi, I am trying to use soatest Extension tool with maven. So i added the dependency in the maven and now I try to load that class in the Extension tool,. However I am not able to. I am loading the class but then also I am not able to see the .methods in the dropdown. Isnt there a way where I dont have to manually configure…
-
How to create a maven project for soatest and excute it
Hi, I am trying to create a maven test with parasoft soatest. Now i dont know how to execute .tst tests with maven test command. Kindly help me on this
-
Proxy Authentication Required for this error what kind setup we have to do?
HTTP/1.1 407 Proxy Authentication Required Proxy-Authenticate: BASIC realm="gdc_ldap" Cache-Control: no-cache
-
SOAtest/Virtualize Not Opening on Mac OS
On Eclipse 4.5 (which comes with SOAtest 9.9) and Mac OS X 10.11, there is a known issue with the workspace launcher freezing (becoming unresponsive) when Virtualize or SOAtest opens up. The workspace launcher is shown but is unresponsive even after clicking on the buttons to select a workspace. You are forced to close…
-
Proxy for firewall and non firewall test
I have a project that contains tests where I need a proxy and tests that do not need to go thru proxy. I want to be able to execute the series of tests (proxy and non-proxy) under the same project. I tried using the autoproxy (obtained from IE). Not shown on pic. I set the "Proxy Exceptions" for the url (hostname only,…
-
Relative path declared in the environment variable is not being recognized in the test script
In order to map data with it's respective environments. I followed the below steps, * Created an excel for one environment. * Created a variable in Environment variable and gave the relative path of the excel (${project_loc:project}/TestData/project_TestData_QA.xlsx) * Called this above variable in Data source as…
-
Excel to use hierarchical data with more than one level, how to use ParentIndex correctly
I have been using this information to create my excel data source with hierarchical data: https://docs.parasoft.com/display/SOAVIRT9104/Performing+Functional+Tests+Using+Data+Sources In my service I have the following structure: <SetupProducts> <shortId></shortId> <products> <ProductDTO> <AssignedChannels>…
-
Is there any option/flag for the user to turn ON/OFF Regression/Diff Control for all tests at once
I want to turn ON/OFF (enable/disable) Regression/Diff Control for all my tests before starting my execution. Is there a place where i can control this setting?
-
Getting "Received HTTP Response Code 401: Unauthorized" only on first of 7 iterations of the test
I parameterized the input into my REST test, which uses Basic authentication. The first iteration fails (aka row 1) with the "Received HTTP Response Code 401: Unauthorized" error, but the subsequent 6 iterations are successful. Does anyone know what is causing the first iteration to fail?
-
Setting up the proxy in the localsettings property file
Is there a way to set the "proxy" server and port on the properties file? I did not see that in the doc https://docs.parasoft.com/display/SOA9103/Configuring+Localsettings ?
-
How to Configure Proxy settings on headless SOAtest and Virtualize installations
The eclipse proxy settings are kept within the workspace metadata. In the below relative location: ${Path_to_workspace}\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.parasoft.xtest.common.eclipse.core.web.prefs "com.parasoft.xtest.common.eclipse.core.web.prefs" is the name of the file. I suggest copying the…
-
SOATest integration with UrbanCode build and deploy
How to integrate SOATest with UrbanCode build and deploy for Continuous integration?
-
Why my deleted datasource still show for setup test requests?
Hi, I'm currently running into an issue with deleted data source still showing for my rest request in Setup Test. Any help to remove those deleted data sources? thank, Yan
-
GitHub and EGit
I am trying to set up SOATest to integrated with Github. I downloaded successfully "EGit". I can create the local repository and download to Github. The issue I am having is if I make a change in SOATest it gives me an error as it can not find the system path (Original Workspace location)for the .tst to update because it…
-
error while running jenkins job
I am seeing the below error once i ran the jenkin job. and also i am running this suite as group still getting failed through jobs. This error often occurs when a column in the data source is renamed or removed. This error can also occur when a column that is extracted via various Data Bank tools (e.g., XML Data Bank,…
-
Excel data source location respective to project
How do I have to set the path for an excel file that I use as a data source so that it is always respective to the project? I have been using it in my desktop while I was trying to figure out how to work with it, but now that I am planning on checking my code in, I would like to configure it so that anyone that works on…
-
Mongodb Connection Failure Replica Set
Hi Guys, I'm trying to connect mongo db with replica set with mongo db query tool but getting "Query couldn't resolve." While same working for normal mongo db without replica set.
-
Restrict Access to the License Server
I want to be able to control the access to the license server (windows) to a particular group account. You have to be in that account to access the license which is installed on this server, hence use soatest. What is the best way to do this or is the license software open it up for everyone? I removed several things on…
-
Does SOATest Server have a WAR file deployment option
Does SOATest Server having a separate WAR file deployment like CTP and Virtualize or does it have to be invoked using command line? thx
-
Testing 3rd Party JSON app with security issues
I was able to find the json docs and load them into SOATest. When I try to run a test script, I get authorization errors. I have set up and tried different HTTP Authentication types and it still gives me the 401 error. I've used Swagger to open the json docs and was finally able to get them to run after finding the little…
-
Use XMLAssertor to validate items in a table data source are present in response
I am very new to SOATest, so I may be going about this the wrong way. I have a test that is using SOAPClient to test a service (A). I have a table that contains values that I used to setup some rooms using a different service (B), and I want my test to use those same values to verify that my service (A) is returning all…
-
Cleaning up reports storage directory for the SOAtest/Virtualize Server
Starting with version 9.10.4, the SOAtest/Virtualize server can perform test execution jobs. Reports from these jobs are saved in the reports storage directory. The location of the reports storage directory is different on every operating system and depends on the value of the "java.io.tmpdir" property. It is highly…
-
Diff JSON comparision by ignoring the order.
Hi Team is there any way to ignore the order while comparing the json. problem statement : Posting an array of data from excel while getting the response of same data, i am getting the order mismatch. for example, 0th position goes to 1st position and vice versa. Thanks Udaya
-
Auto re run of Failed scenario
i have created a scenario under which there are 3 test cases. I am running this scenario with the option of "tests run as group" and "test run sequentially" If any of the test case among 3 test cases fail i want re run the complete scenario. Can anybody help how to achieve this?
-
How to enter datetime in Excel Data Source
I am using an excel data source to import data to generate complex structures, I have managed to work with creating relationships between the different sheets, but the one thing that I can't figure out how to do is how to enter dates so that I don't get an invalid datetime error. Anyone has done this and knows the correct…
-
How to apply assertion in response if the response is coming in Header.
I was trying to apply assertion in header using Diff but it is not working perfectly fine. Is there any other method through which I can apply assertion in headers.
-
Refrenced Test
Hi everybody, I want to know how can I implement following scenario in SOATest: I create a ".tst" (test suit) file and I parametize it's input and add an Assertor to it. when I referenced to it in another ".tst" file, I need to pass values to it's input and modify it's Assertor but I can't change any thing. with this…
-
Writable Data Source Append not Working as Expected
I have the following test setup: Table: Customer - Contains 2 customers. All rows are enabled. This will exec a total of 6 tests. Writable data source config: Json Data Bank as shown: Write file only shows the second customer when using "per iteration". What if I select "per write access" instead? Same result. This is the…
-
How to configure Environment Manager to take the tst file from bit bucket.
We have main branch where we use to update the latest version which need to be tested. How this file repository can be integrated to Environment Manager.?
-
how to append two data source column elements
I'm working on the oAuth2.0, using JSON data bank I extracted access_token and access_type. In my main rest client post request I could like to parameterized the authorization where I need to append access_token to the access_type. Could you help me out in resolving issue
-
is there a way to write the json response value to an excel spreadsheet?
Is there a way to store the json response values to an excel spreadsheet?
-
JSON REST API: Validate multiple responses against a DataSource
Hi All, I am trying to validate the JSON response against an Excel sheet for each INPUT value passed. I am using the JSON assertor and for each attribute have assigned the corresponding column name of the Excel. But, for the attributes where it is a ARRAY/LIST or TABLE of values it is failed saying no value found. SAMPLE…
-
String Assertion specific to two values from parameterized excel
Hi Team, I have scenario where i will pass "active" to get active orders,"expired" to get expired orders. Where as i am passing "expired","active" in an array to get both status orders. In this situation how do i validate only both status orders have been retrieved? Note: validation is passed as a argument from excel.…
-
XML Conversion Tool
I have a Rest call returning JSON. I convert to XML using the XML COnversion Tool. Appyling the "Edit" tool it looks like it converted successfully. When I add XML Databank, after the Conversion Tool it still contains JSON. If I add it add the Test Level then it give me an "Invalid XML input: Content is not allowed in…
-
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…
-
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…