-
VS2017 help
Hi I am using VS2017 Professional and I have installed Parasoft C++ test v10.4.2 for visual studio, but after the installation the Parasoft still doesn't appear in the menu. what can be the reason for this? Thanks Sharon
-
Stored Procedure not executing in soatest - giving error message
Hello,I’m having a problem with the DB Tool, where a stored procedure is not working as expected. The same exact stored procedure is working on Toad for Oracle, and I’m able to get the query result I expect. Using the DB Tool in SOAtest, I get the following error:“Error Message:ORA-00922: missing or invalid option42000…
-
Parasoft Standalone License Server
Are we going to support Open JDK and Tomcat 9.x in the upcoming version of Parasoft Standalone License Server i,e 2020.2 ?. Because I can see in the documentation it's mentioned we do have support for the below * Java 8 * Tomcat 8.5 Link for document:-…
-
Test execution issue
Under test relationship, tests are individually runnable option is disabled. How to enable it?
-
Virtualize for performance testing of simulators
Can Parasoft Virtualize handle high volume of requests for performance testing Can Parasoft Virtualize right from long term maintenance perspective where we are thinking of hundreds of simulators for performance testing env
-
Multiple Data Sources in Scripting
Trying to use this example from the scripting PDF: from java.util import * def addDataSources(context): ds = ArrayList() ds.add("DS1") ds.add("DS2") return ds But, when I try to use one of the data sources it says that the data source does not exist. Can you post a valid method that uses one of these ? Thanks JT
-
Report Generation Parasoft GUI
I wish to store reports from Static Analysis, Test Case Execution etc. automatically in seperate locations using properties file. Is it possible to do this in Parasoft Eclipse Plugin? Does report.location parameter apply for GUI as well? Greetings, Tejashree
-
Fetching the base URL from the browser opened from Browser Playback option
Hi Team, As a part of our testing, we need to fetch an Dynamic ID which is a part of the URL. However, we reached to a point where we navigate to that URL from Browser Playback option. We need to fetch the URL from the browser Issue that we are facing: 1. REST URL Data bank : Getting a blank in all the parameters 2. Chrome…
-
Avoid blank values in excel while validating
Hi Team, How to avoid blank values in data sheet while validating or during assertion. example : Attached an excel. I need to skip the blank cells in excel while testing. Note : I cannot edit the datasheet.
-
How to send same response for multiple request.
Hi team, i have a situation where my request parameter in a req body might be different. it's like someone can send 2 parameter or more. so i need a way to send a valid response each time for every request. is there any way for this. Please let me know if you need more details. Thanks Nihar Ranjan Arisal
-
Cookies issue
When I run a POST call in SOATest, I get "connection reset" error. Same request is working in SOAPUI. **I observed that in the request header , cookies of response are getting appended. **If I restart the workspace and then check it's working fine and later I see the same issue. Why are response cookies appended in request…
-
Upload file based on relative path
I want to upload a file in my e2e tests and I did manage it by using /home/john/Documents/doc.txt but when I share my automation tests the path of the other tester is /home/george/Documents/doc.txt I tried to put as relative path ~/Documents/doc.txt but this didn't work. Any suggestions?
-
Do SOATest call API's internally? Like selenium internally call API for UI automation
Wanted to know that does SOATest internally call APIs to perform particular action SOATestUI. If yes is there is any way to automate it
-
Supported Eclipse versions
Parasoft does not ship current versions of Eclipse. The current version is 4.6.1 (2016-2017). I have an engineer that wants to update to a newer version. Is there anything for me to be concerned regarding the current and foreseeable future SOAtest releases?
-
Parasoft BUG - requestBody correlation for x-www-form-urlencoded POST requests
I came across a problem while trying to correlate or return the requestBody of a POST request x-www-form-urlencoded. Parasoft sees/returns an empty requestBody. It would work for all request types (GET/PUT/DELETE) but not for POST, is this a bug? Can confirm that it works for other requestBody types, raw/json/etc.
-
Validating Variable Length Lists In API Responses
Problem: You are data driving an API with your SOAtest test and you have data validation requirements on an array of data the API returns. This can be problematic because depending on the request parameters, which you've externalized into a data source, you will receive varying length arrays coming back in the API…
-
How to use Swagger in Parasoft soa test
Hi Team, I want to use Open API / Swagger in my soa test. When I want to automate any test case which has query parameter, how can I pass my query parameter in the query tab? I am getting the message the specified operation has no configuration path parameter. To change the path, select a different operation. How will I…
-
Support for sub environments - possible enhancement
While the environment structure is great, it would be beneficial if there was an ability to next these such that everything for a dev environment is set in a parent env, but divisions or such could be children to that parent, or viceversa. ie Dev Environment baseurl - http://dev.org urlpathA - /endpointA urlpathB -…
-
Variable'ize entire header for use in all calls
Since we typically use 2 common header formats in out calls (GET Versus POST/PUT/DELETE), I was wondering if it was possible to create a multi-line variables that could be used calls. This would help facilitate normalization between calls and allow a single place for updates and variable assignments, such as auth tokens,…
-
remove() may lead to race conditions
Hello, I'd use the function remove() in order to delete a file in my project. I tried also with unlink() but I have the same violation: Usage of functions prone to race is not allowed (SECURITY-19-2) This file removal is in the main thread, so I can suppress that rule, but it will be nicer if I will found an alternative.…
-
Tasking - running UT on simulator
In the "Run Altium TASKING CTC Tests" configuration there are couple of steps that I don't really understand: Here is what we see in customer's console log: ...done. Copying file... "C:\work\unit_test\megartos\MConfig" -> "C:\Users\bhopkins\parasoft\workspace.cpptest\vdm_x2_proj\unit-data\current_tubf179707\MConfig" Source…
-
How to get the full URL of the current request in Virtualize Extension Tool
Can you tell me how to get the full URL of the current request in Virtualize Extension Tool using Jython? Thanks. JT
-
Display code coverage for CppUTests
My Goal: My project consists of three C++ libraries and a set of existing CppUTest tests that unit test the classes in those libraries. My goal is to see the code coverage, in the libraries that is caused by running the CppUTest tests. The libraries and test are built by CMake. This is in a CentOS-7.2 Linux environment.…
-
Multiple response for same request which contain only the session id as dynamic value
Hi Team, I'm facing issue in differentiating the responses for same request.There are 4 different responses for the same request and except session id every other values are null in the request.In real time based on the addresses in the previous request the response differs in this request ,but i'm not getting how to…
-
Trying to use a file on CTP server
I am trying to use a CSV file for the CSV data source. I have uploaded the file to a folder on the server via the CTP, but I am unable to retrieve the file in the File Path: location / space within the CSV data source window. What is the format used to point to a specific file on the server? I am connected to the server,…
-
Rules Suppression Question, Source of a warning from a #define MACRO.
Question: Can we place the suppression in the MACRO and will the Parasoft tool recognize it, and suppress the warning in consuming .c files? We are struggling to get this construct to work. We want to be able to suppress the warnings from where the Macro is defined in the header file, instead of having to modify 1000's of…
-
How to activate a Community Edition License.
Description: How to activate a Community Edition License. Solution: 1) Navigate to your Preferences or Click here to edit license preferences 2a) If you Navigated to Parasoft-> Preferences you need to navigate to the license page 2b) If you Click on Activate License you should see the following window pop up 3) Once you…
-
Missing CWEs from security compliance pack
I'm trying to configure custom tests for C/C++ static analysis. I'm using Mitre CWE's library and some are in the CWE Top 25 + On the Cusp 2019. I do have the Security Compliance pack installed. However, some CWE which are listed on the Top 25 + On the Cusp 2019 are not shown in the rule tree in test configuration. For…
-
Collect Stub Information Fails To Find Identifier
Hello, I am using Parasofts C/C++ Test in an embedded environment; * IDE: Code Composer Studio v8.2.0.00007 * Device: TMS320f28075 * Compiler: ti-cgt-c2000_18.1.3.LTS * Product: Parasoft C/C++ Test Professional 10.4.2 Whilst trying to run the built in "Collect Stub Information" operation Parasoft cannot find certain…
-
Browser playback not startingup chrome browser
I have a requirement * Navigate to webpage and generate a token. I tried using the browser playback option, but I getting the below error * I tried updating the drivers but no luck.
-
Set Active Environment Using a Tool
is it possible to set the active environment using something like an extension tool? I'd like to have multiple environments to set the value of endpoints and I would like to set the active environment based on a value from a Data Source. Can this be done, and if so is it thread safe.... meaning would the active environment…
-
Features Request
The following features would be very useful IMO: Message Proxy component: * make the columns sortable * allow the connections to be moved up or down * allow a copy/paste feature to create new connections Datasource Table component: - make the columns sortable - allow rows to be moved up or down JT
-
How do I define the execution sequence of the test cases in a test suite?
I need to run test cases in order. How do I do that? I have tried ordering the macros and the testcases in the testsuite source file but that didn't work.
-
How to halt flow using an Extension Tool
I am doing some custom processing in a Message Responder using an Extension Tool. I need to be able to interrupt the current flow and return HTTP 500 so that the Message Proxy will move to the secondary connection. What's the best way to do this? Should I be using a different type of tool? Thanks JT
-
com.parasoft.xtest.test.product could not be found
I run soatestcli on windows and it bumps into this message and shuts down !ENTRY org.eclipse.equinox.app 0 0 2020-07-13 11:07:12.701 !MESSAGE Product com.parasoft.xtest.test.product could not be found. any suggestions ?
-
Support for unit tests using Green Hills development tools for a PPC target?
I need to run unit tests on my target system (custom, using a PPC core.) We are using the Green Hills dev tools to build our production code, and I need to integrate the C/C++ Code into that build system. I'm down to two unresolved externals: cpptestTestCaseSlave() stubCallInfo() These are directly referenced by my unit…
-
Rewrite Request Body
What's the best way to intercept a request and change a value in the body ? For example, the JSON payload of my request is { "id": "abc" } and I want to modify it as such: { "id": "xyz" } and then continue processing the request.
-
How to take values from xml or json data banks into groovy scripts.
Im trying to take the values from data bank into script but getting error can anyone help me out.
-
Unitary test dedicated Team?
Hello, whaht is the advantages/desadvantage of dedicated unitary Test Team? what is the better that developers do the unitary test or dedicated team to do it? best regards Atef
-
Highlight "Not covered conditions" not working.
Having both covered and not covered selected shows no highlight at all. Having only not covered selected shows no highlight as well. Having only covered selected shows highlight. What is going on???
-
Specific test if fails should not produce a failure in report
This is a bit tricky to explain in only one sentence in the title. I want to create a test block that I want to re-use throughout my regression tests. This block will be the login scenario (for start) So my actions are: 1. Check if logged in 2. If not do login 3. Check if logged in I have done this using the Test flow…
-
Select text from inner element
I want to check text from an element that is inside another element. So I want to verify that text form div class="alert" is the correct one. But selecting this div from the validation tool does not work. My first though was to extract the text using javascript. So * Element locator = Use script * Language = Javascript…
-
Loadtest with one master and multiple slaves is failing at higher rates than expected
Here is my situation. I have a load test with a scenario. its runs ok on the master machine with acceptable error rate of say under 1% and acceptable limits for through put. Now when I add another slave machine and run the same test and scenario, my error rate jumps to say 35%. Has anyone experienced this? What could be…
-
SOATest : Execute Test from another Test
I have a tst file with 2 different Test Suites where I have 2 different web services. I have 10 test cases for one webservice "A" and another 10 cases for another webservice "B" Each test case is dependent on another test case. I have created a TextDataBank to extract parts of XML for each test case(based on scenario few…
-
Disable assertions in Loadtests that are reference testsuites
Is there a way to disable assertions and schema checks during load test? I need them for functional testing and cannot afford to disable or create another tst for Perfomance testing.
-
Dynamic Data Element
Hi Everyone, We're building a new service and one of the requirement for this is to have a dynamic Data Element request looks like this: response should look like this: The bolded items per payload are always changing. pretty much that's the primary key being passed from the request. is there a way to do this in Parasoft…
-
Undefined Reference to CPP Test Functions
Hi, Im running into an issue with CPP Test, it seems that whatever i try when running unit testing i get 'Undefined Reference to cpptestTestSuiteBegin and an array of others, ive checked all the settings against the install guide and it seems to be correct. Im running Parasoft C/C++test Professional - Version:…
-
Assert element is not visible in front-end (but hidden and exists in DOM)
I have an element that is either hidden or visible in front-end. How do I verify when this is hidden from the user? I tried Browser Contents -> Browser validation tool but it's options for expected value only reflect the DOM. The options do not check if the element is hidden or not. Is there another way? Thanks in advance
-
Limiting scope of test reports to subset of files
We have a project that requires unit testing of only a subset of files in the source tree. I know how to pass a specific list of resources to cpptestcli using the -resource parameter. There is also a method to filter files in the test configuration. What I'd like to do is keep track of coverage results of only the files…
-
Using Burp suite extension in Parasoft SOA tool
Hi, I am currently exploring Burp Suit extension tool with Parasoft SOA test for Apis Security Testing. I have parasoft 9.10 version installed and I have a Burp suite professional licnse v2020.5. Whenever I am adding “burpsuiteextender.jar” in Burp suite professional”. I am getting following errors…