-
How to clear temporary files in C++Test Desktop
There is a way to quickly clear the temporary files. This is expecially useful action to perform when debugging issues:
-
How to get Active Environment Name in Extension Tool in Parasoft SOAtest
I want to pass active Environment name into my custom report. Wanted to know how to get the active environment name using Java
-
Request Validation using SOATest
Hi, Is it possible to use SOATest and Virtualize at a time. Means, if request is coming into a JMS queue, i want to pick that and validate using SOATest(XML Assertor) and if all assertions get pass, i want to send response from Virtualize. Also, if assertions get failed, flow should not proceed
-
Does virtualize support Zigbee protocol?
Trying to create a test automation setup with virtualisation for IoT - zigbee devices. Does virtualize support ZigBee protocol?
-
How to corelate same response for multiple request when reponses are same while creating Virtual ass
hi team, Can anyone help me on how to corelate same response for multiple request. Please refer the attached document for more details
-
Query regarding usage of Extension tool and data banks
Hi Team, I have used XML Data Bank to fetch few property values from the request Can't we use these properties in the Traffic object -->Extension Tool while scripting? The problem we are facing is when we use property from data bank in our java code we need to use ScriptingContext context in a method. But if we use…
-
Switch to new window using Parasoft web test
I'm new to parasoft. I want to switch to new window. I see that there is a field in the browser playback tool named as "Window". I'm assuming this is the place where window details can be given. I'm not sure what value it accepts. e.g window title, or window url or count of window. Any help would be appreciated.
-
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 Initialize variable in Asset
Hello, Normally when the request comes in , first XML data bank gets executed. We need to define variable before that so that we can create loop as per request parameters where and how to define the variable before data bank ?
-
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…
-
QUery about parmeterzation
Hi Team, I have doubt regarding parameterization of part of an xml file i have used a Data Source ( Read Contents from File) to save a chunk of xml this chunk is then used in my response. PFB an eg: File name =Chunk.txt has the below content Pool TID_DSL_V4_SA in the response Xml i have parameterized it as <?xml…
-
Header Files Not Getting Listed in report.html Files
Hello, I have a situation with v10.3 C++test where header files are not getting listed in the report.html files even though the Console output shows numerous entries of "Collecting header files for ...". I am utilizing the -module parameter. What could be causing this issue? Thanks.
-
Call Back After Message Response
Dear All- I have a requirement as below for virtual service 1) Response to the incoming request 2) CallBack to another endpoint with the parameters generated in 1 to another endpoint after sending the response to 1 I'm using messaging client for the call back and it gets in loop with the first request. Is there any way to…
-
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
-
how to configure java project in CTP
How to configure java project in ctp and soa test project is dependent on java project. please provide the steps to execute the SCRIPTS in CTP
-
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…
-
Virtualize 9.9.5 unresponsive after opening on MacOS
Virtualize 9.9.5.20160601 opens the "Select a workspace" dialog, but is unresponsive. I have tried running with the -noSplash parameter, but the same thing happens. MacOS version 10.11.6 (15G19009)
-
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" :…
-
Can I use JTest to test Java Threads and EJBs.
Product name: JTest 5.0 Dear JTest expert, Could please tell me whether I can use JTest to test Java Threads Application and EJBs. It yes, Do you have any documents or guide about it? Thank you very much,
-
Insra not able to appear on Ubuntu 16.04
This article provides steps to allow Insra to be used on Ubuntu 16.04. With recent versions of Ubuntu, they are no longer using a library that Insure++ uses to display the Insure++ Violations in Insra. To resolve this behavior, please perform the following in a terminal: sudo apt-get install libmotif-dev After the package…
-
Connection issue-While accessing outside cloud in PCF
Hi Team, We have our service virtualized outside PCF region because of which it cannot be called by the services hosted inside PCF. How can we bring or host the virtualized service inside PCF cloud environment. Please share documentation that can help us Regards Udaya
-
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…
-
One Test Suite - per - Project
Hello, I want to generate a Test Suite per project. Rather than per test function, source/header file, or source file as described in "Test Configurations>>Generate Unit Tests>>Generation>>Test Suite>>Test Suite output file and layout" . When I try to manually write these fields myself, I always get the error: "Test suite…
-
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…
-
Loading Java Class files in the extension
Dear All- I was using JavaScript/Groovy and will write the code within the tool. I am trying to implement extension using java and have written an extension as java.class file. The class is not getting loaded. I m giving the qualified name and build path has correct settings. P.S: If I tried with some java class like…
-
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
-
Working with Keil 5.x and the --Via option in batch file
-Open the Keil uVision project. -Go to Options for target and open the Output tab. -Check/activate the Create Batch File option. * Run the build from GUI. * The batch file will be generated. It will be named as project name. So let's assume the project name is "ProjectABC" The ProjectABC.bat is now can be executed from…
-
User Rule Management with C++test Desktop and DTP Test Configurations
I've had users asking about sharing User Rules between C++test installs, and visibility of new Rules in DTP. The attached document provides a Quick Start for setting this up.
-
Need to update request and forward to endpoint
I need to update the SOAP request and update the clientID and forward to the end point. Like in below example, client id is 1234. But I want to modify it to 6789 before using message forward. What is easiest way to dot it? <getBankBalances> <brokerHeader> <brokerUserId>TestPortal</brokerUserId> <clientId>1234</clientId>…
-
Setup SSL Secure localhost proxy
Hi, I'm trying to setup the proxy for SSL (https) access on the localhost. I created the secure Listener on port 9443 but when I hit the proxy URL from my code in the Visual Studio debugger, I get the error: {"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."}…
-
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
-
Missing Code Coverage Results
Hello, Is there any way to debug missing code coverage analytics from a linux arm-distribution unit-test?Using the instrumentation flow included with Cpptest and some example QT code, I can see a clog file being generated on my target but Parasoft doesn't display any code coverage after the test is complete and the clog…
-
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…
-
How to add the rule to MISRA 2012 rulemap?
Suppose I created a rule and I want that rule to behave (name and severity wise ) as a MISRA 2012 rule. Where do I add it to MISRA 2012 rulemap?
-
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,…
-
Unable to connect Enterprise Pack when DTP Server is only configured for SSL
DTP Supports use cases where no HTTP port is available. DTP Enterprise Pack does verification of configuration settings to help users when they make mistakes. When DTP is configured to only use SSL, the check for the web port "http://[dtp_hostname]:[web_port]/grs/welcome.jsp" redirects to the HTTPS equivalent which is…
-
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?