-
Should we check for a return statement for void function? Is this critical and affects the quality?
Similar to AUTOSAR rule A8_4_2-a (All exit paths from a function with non-void return type shall have an explicit return statement with an expression), should we also check for a return statement for void function? Is this critical and affects the quality?
-
Extension Tool is not working for Outgoing Response - Transport Header
Hi, I am extracting the Header from output Transport Header by using Header Databank. context.getValue("Generated Data Source", "HeaderDatabankColumnName") I want to refer same in output Response - Transport Header Extension tool. But seems it's not working. As per my debugging I could not even print test message using…
-
DS-5 Unit Test Execution
I am working with Arm DS-5. I use Eclipse IDE for Arm DS-5 I use Arm C Compiler 5 and I use cortex A9. I easily generate unit test via generate unit test feature of Parasoft. I can reach generated test from Test case explorer. But I can not run these test. When I run the tests, the console part of IDE does not affect.…
-
Adding new Rule via RuleWizard
Briefly, I want to learn RuleWizard to create my rules via RuleWizard for Static Analysis in C/C++Test. But I have an issue about it. For example, I want to check a case which is given in below. void Trial(INT32U x){ //violation ( bracket should be put in new line not after the function) ... } void Trial(INT32U x)…
-
virtualizecli gave me ERROR: Error: Missing parameter: -config
I am using SOAtest & Virtualize 9.10 I checked the cli help, there is no such paramteter as "config" How to solve this?
-
How do I setup a corelation when there are only 2 parameters in the request?
Below is the request format for which I need help in setting up corelation: APPWEBEDV APPWEBEDV12345 I LUP500 50708711GTC700*XAB6LUOAW1T ORA50V378D11CC W1
-
Keil UVision Parasoft Plugin
I work with Keil uVision v5 ide and I want to plugin yhis ide to parasoft. But I think this ide is not eclipse based. Therefore when I run the installation about parasoft c++test eclipse plugin setup file and proccess ended parasoft view does not appear on toolbar of keil uvision ide. How can I plug Parasoft with Keil…
-
Moved: Keil UVision Parasoft Plugin
This discussion has been moved.
-
Disable Static Analysis violation to 1000
Hi , Today when we scan to Parasoft with MISRA C 2012 Rules , we have a limit of 1000 Violations. How can remove the limit ? Thanks :) Chen
-
C++test Windows10.4.1 Eclipse Plugin
I used C++test Windows10.4.1 Eclipse Plugin for parasoft and ARM DS-5 entegration. Then Parasoft added in DS-5 toolbar. The plugin installation completed succesfully. After that I want to plug in parasoft to my another eclipse based ide which is code composer , when I run the C++test Windows10.4.1 Eclipse Plugin setup file…
-
Netbeans Test Assistant View
I use Netbeans 8.2. I pluged in Netbeans with Parasoft and JTest. After plug in process Parasoft appeared on Tollbar but When I click Parasoft -> Show View I can not show test assistant option. Why this case occur? I can not add new test case etc. Because test assistant is not valid
-
Configuring the Jenkins Global properties through powershell
I want to run automated selenium tests on different browsers and would like to pass the browser through as a parameter in my PowerShell script that triggers the tests to run. The browser is currently determined by the value of my 'Browser' variable in the global properties in Jenkins. Is there a way to assign the value…
-
Displaying 500 error when tried to use Login credentails especially masked password from env file
Hello, I exported my login credentials to an environment file (with Password as a masked value), when referenced the same env file and used the Username and Password variables in a Login service, it is throwing 500 internal server error. Note: Traffic Object -> Request is displaying correct Username and masked Password…
-
How to Encrypt the password in SOA test Tool
Hi All, I want to encrypt the password and that password should be pasted in the Excel sheet (Passing the input data from excel sheet). 1. When I am passing my password directly it was visible in the traffic viewer request . 2. we are having the option to mask the password in the Environment , but when we run that service…
-
How to read the rows in the Excel sheet in run time
Hi All, I am trying to read the data from excel sheet . 1. I am adding the properties in one row and values in the another row, this scenario is working as expected 2. I need to run other test case data with the same properties of row 1 and test date is in the row 3 3. How can we configure in the tool , means my scenario…
-
Excel sheet was not refreshing in the tool
Hi All, I am trying to add the Excel sheet as a data source 1. Initially I have added some data in the Excel sheet and I am able to parameterize the values in the SOA tool. 2. After saving that I am able to run the service successfully 3. I am adding a new column to the excel sheet. 4. I am trying to modify the existing…
-
CTP Excel DataSource Parameterization
Using Excel Data source, we parameterized the API request headers & request payload in SOAtest desktop application and its working fine as expected, but when we upload the same scripts in CTP web portal Excel Data source parameterization is not working. Note: I have uploaded the excel data sheet in CTP & mapped the…
-
Not able to pick a user defined environment when run from Jenkins and pick the project from Git
i am trying to pull .tst file along with .parasoft and .project file from Git and executing by putting all 3 files in one workspace. for this .tst file i have created 2 user defined environments which i will specifying in jenkins as a parameter. some how i am not able to run the .tst file and test fails with below error.…
-
Is it possible to ignore compilation flags that block (try-catch)
Hi, C++Test 10.4.1. IAR compiler. Is it possible to ignore compilation flag that ignores blocking try-catch flag. Is it possible to writes rules that ignore such blocking try-catch flag. Thanks
-
Groovy script fails when context.getValue is used on response captured via JSON Data Bank
Hi, In Parasoft SOATest 9.10., I captured the whole response of a RESTful API call in a variable called "responseBody", in JSON DataBank. Then I tried using the following statement in my Groovy script (inside Response Traffic -> Extension Tool) and I am getting an error: def responseBody = context.getValue("Generated data…
-
Extension tool to extract/set parameters from response does not work for soap client request?
I've been trying to use extension tool with groovy script to extract values from xml response and set the value at test suite level for next soap request to use. however this seems not working. I see the value gets set but value is not passing to the next soap call somehow. anyone has a clue?
-
CTP Diff Tool Parameterization
We Parameterized the diff tool in SOAtest desktop application using excel data source & it’s working fine, but when we uploaded the same scripts in Parasoft SOAtest CTP, portal values are not getting parameterized & cannot see the “Data Source” option to select the excel data source in CTP diff tool.
-
Custom Execution within SOAtest
I want to be able to execute my tests in a custom order, where one test is executed before each and every test within a test suite. Ex: Test 1 > Test 2, Test 1 > Test 3, Test 1 > Test 4, etc. How is this possible? I have tried it with test flow and test dependency with no luck. Ideally I want to do this without scripting.…
-
Can we run multiple test batches via loadtest cli sequentially?
Scenario: We need to run the loadtest for 1 hour in each batch. We have run the 8 hours batches in a single day one by one . Each on is one hour batch. Therefore, I want to run them all (8) batches sequential via command line loadtest cli. Is it possible? If yes, how do we do it, is there any example you guys can provide?…
-
Getting Error on CLI mode
I am getting below error while running this test in command line mode of SOA test though it is working fine in GUI mode. java.awt.HeadlessException at sun.awt.HeadlessToolkit.getSystemClipboard(HeadlessToolkit.java:309)
-
Space is converted to characters in REST URL
When I am Passing this value Real Estate Test from Excel Data source to Rest URL it converts space as below. Real%20Estate%20Test
-
Why am I getting java.awt.HeadlessException while launching loadtest commandline?
* Loadtest has been installed in Linux machine * Create a loadtest script (ex. loadtestscript) to run the command line * using the following command to run the loadtest commandline * ./loadtest -cmd -run loadtestscript * Got an Error : java .awt.headlessException at…
-
Include extension tool runtime to soatestcli execution
We are integrating Bamboo, Bitbucket and Soatestcli. But we have custom extension tool to be included in some cases. The option we have tried is to include extension jar location in localsettings with system.properties.classpath and pass locallsettings file as argument for cli execution. But this does not seem to be…
-
Can Flow Analysis be performed across multiple Eclipse projects?
The project code (C/C++) is structured into multiple projects. To create the program, 1 very small project is the executable and that links to a number static libraries. The libraries then reference each other. The Flow Analysis will flag many "function is not used in the testing scope" errors as, apparently, the scope…
-
How to execute unix shell scripts from within SOAtest
What is the best way to execute shell scripts which reside on a remote unix/aix server? Are there any standard or market place SOAtest building blocks that can cater for that? Preferably I would like to store the unix commands for a testcase to be executed in a single cell in an Excel sheet that is integrated as a…
-
REST API URL in Extension Tool
How to get the REST API URL in the extension tool ?
-
Execute Shell Scripts from Parasoft SOATest Tool
Hi, I have to execute few shell script commands using GIT BASH to encrypt and decrypt key. I tried to automate this using SOATest tol. I have added external tool and passed the path of git bash as below After this GIT bash is opened, I want to type few commands automatically like below: ssh userID@10.1XX.52.XX -p 22 I…
-
BDD with Cucumber and SOAtest
SOAtest now supports BDD through integration with Cucumber. A Java module has been posted to Github that simplifies the creation of Cucumber step definitions by allowing you to create SOAtest tests as the implementation for what should happen at each step. This simplifies the entire approach and enables users to create…
-
How to send asynchronous requests using SOAtest & Virtualize 9.10.6 Community Edition
Hi All, I need to implement below scenario. Can anybody please help me with the information on how to do it? Problem Statement - For an incoming request, first I need to send synchronous response which I am able to do successfully. Once the response is sent, I need to send asynchronous request to a different endpoint.…
-
Using Parasoft gcc7
Hi, I'm trying to understand if I'm able to use Parasoft C/C++test. My understanding right now is that I can not use Parasoft with my gcc7 C++ source because Eclipse currently does not support gcc7? Any information is much appreciated. Thanks, Steve
-
Misra rule violation shows up when not running static test on full project
Hi, when running static analysis with misra rules we get a lot of extra rule violations when running the analysis on a single module (single folder). The rule 20.9 "macro might not be defined" accounts for all of the extra violations. When the analysis is run on the full project, these do not show up. The project was…
-
FTP: Upload multiple files within SOAtest
Hi fellow Parasoft users, this is my first forum post: I'm Daniel from Amsterdam NL and already using Parasoft SOAtest for a few years. Currently working on improving our framework, that's mostly hung up on external VB scripts, to make more use of intrinsic SOAtest functionality as it is designed to be used. I try to use…
-
SOATest and OpenJDK
I saw jakubiak note regarding this and roadmap, but has anyone got this to work? I am trying to reference to the latest openJDk (11) and it does not work. It seems like eclipse is not compatible. thx
-
Jtest 10.4.2 Milestone 1 Build Now Available
The Milestone 1 Build of Jtest 10.4.2 is now available via the customer portal. This gives our users an opportunity to access new product functionality early. The items listed below have been added to this build: • Advanced debugging, recommendations and quick-fix action for NullPointerExceptions that occur from a test…
-
Jtest 10.4.2 Milestone 1 Build Now Available
The Milestone 1 Build of Jtest 10.4.2 is now available via the customer portal. This gives our users an opportunity to access new product functionality early. The items listed below have been added to this build: • Advanced debugging, recommendations and quick-fix action for NullPointerExceptions that occur from a test…
-
filter pass/fail from soatest traffic report
How do I filter/select only PASS / Failed Test from parasoft SOATest Test Traffic report table for each test iteration.
-
Enabling Manage Palette on Extension Designer in Linux (for third party nodes)
Extension Designer is built upon the Node-RED framework and ships with much of the core set of nodes, but of course additional nodes are available from both the Node-red project and the community. These additional nodes can be installed directly using Managed Palette. The instructions below will walk through how to enable…
-
Need tutorials for Jython in SOA test
Hi all, Can some one give me guide regarding scripting in Jython in SOA test . I am new to SOA test and finding it a bit difficult while scripting in Jython . it would be grateful if some one could give me some kind of study material for Jython. Thanks
-
publish report issue
Dear Parasoft Team, I cannot see static analysis report in DTP, please check following images. I run jtest and it publish report on DTP, but I can not see. Note: I use DTP 5.3.3 and I login with "admin" user
-
Client certificate provided is invalid, self signed certificate
I have a client who is trying to use a JKS keystore that was utilized in another application. Whenever they run the test, they get a 500 error: Client certificate provided is invalid, self signed certificate. Does SOAtest not support self-signed certificates? Is there a work around to this issue, or is it something on the…
-
REST API URL has fixed Length
REST API URL has fixed Length and it is not allowing after some specific length.I have test scenario which has many parameters and values in the Url making it long.But SOA test removes the extra length automatically.But I am able to test that URL using Postman.Is there anyway we can handle it.
-
DB Assertion Regardless of order
I have a test where I query a DB and returned with a list of values. I want to be able to make an assertion to check if certain values exist regardless of order or position in the result. Is this possible? So far, my team mates who are working on this as well have been unsuccessful
-
Ignore differences options in diff tool
Hi Team, There is a situation where diff source will not have an element and my target has. I ignored the xpath of the additional text in target. I am still getting error on that source with parent node of the additional Text. Any suggestion would be appreciable Note:Also i would like to understand the options of…
-
Embed credentials with CTP URL
Hi Team, We are sending report to clients, whereas we dont wanted to send the credentials and asking them to login. We tries below and browsers stopped supporting it :( http://username:assword@ctpserver.com:8443/em let me know your thoughts on it. Regards Udaya
-
Arguments for extension tool
How do I pass arguments for extension tool. I see that extension tool accepts 0,1 and 2 arguments . how do I modify the changes.