-
Cant get JSON response from Rest request
I have a client who is unable to have their JSON request return a JSON formatted response, rather, it responds in XML format. They have provided the appropriate header listed out in: https://docs.parasoft.com/display/SOAVIRT9106CTP312/Testing+RESTful+Services+1 However, it is no working properly. Could they be missing…
-
Merging test coverage status across tests in different projects
We have source files in a common library project that contain functions called by source code in other projects but we only have Integration Tests for Project A and Project B: Project CommonLib – contains a function common(int c) Project A – contains a function a() that calls common(0) Project B – contains a function b()…
-
assigning priority to scenarios' is Parasoft SOA Test
can we assign priority to the TCs' automated in parasoft SOATest? suppose i have 100 TCs to automate, i can group them based on priority ( in same .tst file) while execution i want to execute only P1 or P2 or P3 TCs. Do we have such an option?
-
AUTOSAR C++14 release version?
Which AUTOSAR C++14 release version does the tool support?
-
Parasoft announces the latest release of the MQTT Extensions
The MQTT Extensions are custom extensions for Parasoft SOAtest and Virtualize. You can use the extensions on the client side to perform many tasks: * Publish to a topic * Subscribe to a topic filter until the desired number of messages are received or a duration elapses * Monitor a topic filter during test execution to…
-
Reporting Static Analysis Result to DTP
Hi, I use Parasoft which is pluged in with Visual Studio 2013. I enabled DTP. I run static analysis via Parasoft then I obtained the attached image. The image says that I should enable reporting result to DTP via Preference tab but I did it. I want to show static analysis result on Dashboard on DTP. How can I transfer…
-
Monitoring memory of child processes
Sometimes a project depends or starts another process to be executed as a dependency. You can instrument the applications with Insure++ and then run the main executable with Insure++ and still be able to have Insure++ detect memory leaks from the child process(s). By doing this, you can find memory leaks occurring when the…
-
Default host-based unit testing with DS5
Hi, I have no embbedded support feature that is my license does not contain this feature. Therefore I want to run my unit test via "Default host-based unit testing" option which is shown in the attacehed DSC_0103 image. Firstly I create autogenerated unit tests. then I want to run them. When test file is excluded from the…
-
Pagination - scripting solution or not possible?
I recently came a cross a page that limited the results in the response, however, I am looking to extract all the results to a external file or such. Sample return in header: Link: https://sample.com&page=2&per_page=100; rel="next", https://sample.com&page=1&per_page=100; rel="first",…
-
How do i set Message Forward to a Specific Endpoint
I have created a Virtual asset to send a canned response when a specific id is sent but when any other id is sent i wanted the message forward to send id to the real endpoint. But what i am noticing is the Message forward is sending to the real endpoint but with the template i am using for the virtual asset. Anyone have…
-
How to iterate to get column count and each column name from Datasource (DS as Table)
I was trying to write a piece of java code to loop thru each column and respective values. Using context i could see that i can read all the values (using context.getValues) of one column or can get one value using (context.getValue). However, I would need to know how do I read the coulmn count and their names ? So that i…
-
Can I overwrite an existing environment variable using extension tool or any other way ?
I have a value stored in environment variable which is used in many places of my suite. Is it possible to update environment variable's value dynamically ?
-
Securing Extension Designer
We currently have DTP 5.3.3 along with the Enterprise Pack containing the Extension Designer. We would like to secure who is able to modify the flows and items within the Extension Designer. I have enabled authentication so only users who have access to DTP can access Extension Designer, but I see no way to limit what…
-
Email Report in Body
When sending a email report via SMTP, will the "View Traffic" and link on the error verbage be available in the email body. Currently it is now showing in my email report, so not sure if this is a config issue or normal behavior. thx
-
Multiple Tst run from CLI mode
How to run multiple tst files from CLI mode.Exact Syntax please
-
work-flow affected by a downsized feature (5.4.1 vs. 5.3)
The DTP 5.4.1 web view Reports Center >> widget does not carry meaningful information <=> no longer able to acknowledge which exact report is being processed (uploading/pocessed/failed) due to the fact: * the report name does not carry the corresponding tooltip (as before, with 5.3) that could expand and present the entire…
-
Line suppression in the source code
When we want to suppress a violation in the source code, is it okay to add a comment '// parasoft-suppress...' that is "not" in continuation to the line we want to suppress? Can we insert the comment on top or split it in multiple lines, for the suppression to work? The reason I ask this is because we use a tool that…
-
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…