-
Report Count and GUI Count Inconsistent
I am running Static Analysis across an entire workspace worth of projects with some key characteristics: Eclipse: Kepler Parasoft: 10.3.4 Number of Projects: ~160 Number of Files: ~ 1000 .c/.cpp and ~1000.h Configuration Properties: 1. Limit is not set on number of violations per rule 2. Check box for "static/Flow Analysis…
-
SOAtest iteration of tests in reference tst
Hi guys, I am busy constructing a new framework, consisting of a parent(driver) tst and multiple reference tst blocks. Both parent and reference (child) tst's have dedicated (excel) datasources. E.g. the parent DS holds the testcases and some 'switches' to conditionally use the child tst's, in which I have a DB query and…
-
The current displayed page contains invalid values
Our company has purchased Jtest 9.6 and are used to using Jtest 9.6 after trying Jtest 10.4 under Eclipse 4.7+ IDE. But we can't set parasoft parameter under Eclipse 4.7+, it always pop up 'The current displayed page contains invalid values.' whenever clicking the options of parasoft. We found the reason is that…
-
Dynamic response
I have multi response correlated with URL PATH. but I need some id's in the path to send 404 message, how can I do it. here is example: /x/person/* is the URL path correlation The followings should respond JSON message /x/person/1111 /x/person/3333 the following should send 404 not found message. /x/person/2222
-
How to do decode and encode base 64 operation in parasoft SOA test using value from Json data bank
We want to implement below steps in SOA test: 1. get the raw token string value from Json data bank 2. decode the token value to base 64 3. extract a part of decoded token 4. encode the extracted part to base 64 and get the value in json data bank Can someone share detailed step by step document of this solution…
-
Parasoft Static Analysis Jobs are Inconsistent
Hello, I am running Static Analysis across an entire workspace worth of projects with some key characteristics: Eclipse: Kepler Parasoft: 10.3.4 Number of Projects: ~160 Number of Files: ~ 1000 .c/.cpp and ~1000.h Configuration Properties: 1. Limit is not set on number of violations per rule 2. Check box for "static/Flow…
-
Inconsistencies in Counting Inside Static Analysis Report
Hello, I am running Static Analysis across an entire workspace worth of projects with some key characteristics: Eclipse: Kepler Parasoft: 10.3.4 Number of Projects: ~160 Number of Files: ~ 1000 .c/.cpp and ~1000.h Configuration Properties: 1. Limit is not set on number of violations per rule 2. Check box for "static/Flow…
-
Why do I get Resource "my resource" is out of sync with file system.
Why do I get the meesage "Resource 'my resource' is out of sync with file system? What is the fastest and easiest way to alleviate the problem?
-
How do I know what the -J-Xmx was set to when the client was launched.
Is there somewhere in the GUI that will tell me what the -J-Xmx parameter was set to when then client was launched?
-
Dump the contents of Writable Datasource to a file
I would like to write the contents (in full) of a Writable Datasource to a file at the end of a test. What is the best way to achieve this? any code snippets (especially if using Jython) are appreciated.
-
com.parasoft.jtest.database.entities.GSpringBean.getConstructorArgs don't check constructorArgs
When constructorArgs is Null, the code 'this.constructorArgs.split' in getConstructorArgs will throw NullPointerException like this: com.parasoft.jtest.standards.rules.framework.java.JtestRule.startRun(JtestRule.java:605) java.lang.NullPointerException at…
-
SOAtest - How to customize email body for auto generated reports ?
When i enabled "report.mail.attachments=true" I am receiving an email with the custom report which i generated thru XSL. However, i could see that in the by default email body was set to "local path" I want email body to change from default path to proper email body with some customization. Any help on this on how to…
-
Export Test scenarios with details
I am using Parasoft SOA 9.10 version. Is there a way to export the test scenarios to excel (.csv or .xlsx) ?
-
Updating Reference Test Suites
I have a client who is making changes to the master / original tst and the changes are not being reflected to the referenced automatically. Rather the changes only show after they restart the tool. They have followed the advice in…
-
How can I Run a Java code after entire test execution completion
I am generating a html file from excel sheet after all my tests are run ( kind of customised test result report) .i an trying to run the Java class using extension tool. But the test is growing error in both the cases. 1. Tried creating a new test with only extension tool but it's not running 2. Created a tear down step…
-
Need a method which can trigger a specific test from the java code
I have a TestSuite which has number of Tests (lets say 20 Test),now I want to execute Test number 4 and 7 from java code using extension tool.Could let me know how do I trigger a specific test from the java code i.e. which method I have to use call to trigger that specific test? Note:-I can't use command-line feature as it…
-
Groovy REST Request - Scripted Input
When creating a REST request, I have three options for the data I send 1) Fixed, 2) Parameterized, and 3) Script I am attempting to use the script option to create a groovy script that will generate a random number each time I run a test. This is the script I have so far and I'm seeing the error "Argument count should be 0…
-
C/C++ Unit Test runtime error (Keil, ARM, CMSIS)
Hello, we used the QuickStart MDK-ARM unit test example and applied it to our project. We are using Keil uVision 5.26.2 with Parasoft C/C++ Test 10.4.1. The project builds in Keil and executes on the target without any issues. The Parasoft project (Keil uVision import using Batch File output) is setup for Static Analysis…
-
Triggering SOAtest TestSuite Runs Using Java Code Internally through ExtensionTool
Requirement:- 1) I have a set of TestSuites In a Project. 2) I want to use Extension Tool that'll call Java code or another supported prmm. language. 3)Code will run the desired TestSuite on basis on some conditions that I'll set. Any Help appreciated. :smile:
-
Java Code Conventions
I want to analyse my code which is written with Java according to "Java Code Conventions" rules. Does parasoft include "Java Code Conventions" rules? Does parasoft have any option for selecting these rules?
-
auto-generate test for an individual unit within a module (C/C++ 10.4.1)
Hello, I am able to auto-generate test cases at a module level (c-file) by using the Generate Unit Tests (Generation, say 3 test cases per function). This generates test cases for all units within the module. Is there a way to isolate and generate test case of a single unit (function) within a module? I'm using C/C++…
-
Writing json response to an excel
I have a json response which i am storing in json databank. I want the same to be updated in an excel . I had gone through the following link https://forums.parasoft.com/discussion/2698/how-to-create-csv-files-editable-in-microsoft-excel-from-data-extracted-from-tests But my case is for an json response, not an xml
-
Extent report in parasoft
how can we create extent report in parasoft
-
Parasoft Jtest 10.4.2 Milestone 2 Build Available Now
Our development teams have been working diligently and have put together a milestone 2 release of Jtest 10.4.2. They have added many great features thus far and are continuing to make our next release even better. The items below are included in this milestone release. Static Analysis & Security Testing * Helps…
-
Parasoft DTP 5.4.2 Milestone 2 Build Available Now
Our development teams have been working diligently and have put together a milestone 2 build of DTP 5.4.2. They have added many great features thus far and are continuing to make our next release even better. The features and enhancements included in this milestone 2 build are listed below. * The performance of DTP has…
-
Custom Tool
Dear Support team, I create a custom tool and I define some GUI fields in "parasoft-extension.xml" based on below images, but I have a problem in parametrize inputs. when I want use ${my_var} in input fields it can't parse variable value and it return only string "${my_var}", please refer below images
-
Write Files not working in CTP
I am uploading the tst having write files for execution in CTP. When I execute the test case in CTP it is not creating any Write files. I have tried providing Target directory as a folder in my local machine, and by creating a separate folder in CTP and providing it as target directory. It does not work either way.
-
Understanding Support for Custom Report Formats And Generate Customized report
I know how to create XSL. But I need help in understanding on how to do we link the available parameters to XSL. Also is there any way to send report automatically after the test / suite run ? It would be helpful if some one can provide with some example of XSL. My report would need All Test Details Suite wise or…
-
How to reference a specific test from another test suite
I would like to reference few tests from 2 different test suites. May I know how can I achieve it?
-
HTTP Response Code 415
Hi, I am new to SOA Test. Recently I have started using SOA test in my project. But I am facing an issue in the response. The error message states as below. Error Message: Received HTTP Response Code 415: Cannot process the message because the content type 'text/xml' was not the expected type 'application/soap+msbin1'. Can…
-
Keeping the auto generated XML Document for Report Customization
After I generate the report i could see that there are few files including xml document where soatest tool uses the xml to parse and generate html document for reporting. However, the same has been deleted once the report has been generated. Is there any way that i can keep that file for my customized report ?
-
Error reading test log for Test unit for selected sources.
I build my unit test from eclipse base ide ds5 (Build test executable - generic embedded system ) then ı take ' test log for Test unit for selected sources' error. How can I Solve this problem? Could you give me quickly answer? Thanks
-
Error reading test log for Test unit for selected sources.
I build my unit test from eclipse base ide ds5 (Build test executable - generic embedded system ) then ı take ' test log for Test unit for selected sources' error. How can I Solve this problem? Could you give me quickly answer? Thanks
-
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…