-
SSH into another server from SOAtest
I run SOAtest from my laptop. After certain actions, I would like to be able to have SOAtest, using a custom script, SSH into a Linux server, issue a command in that server, then exit. I assume that this can be done in a java or groovy script. Anyone have any thoughts? Thanks
-
DB Tool Returns a Value of 0
I have a situation where I am comparing a Source DB Table (SQL Server) to another DB exposed thru a REST API. I get the data from souce and pass in query to the API to get the result and then do a diff on message. That part is working fine, however if the source column is of Datatype Integer and is Blank, SOATest returns a…
-
Getting XSLT from Writable DS or Variable
I am storing the actual XSLT code in a Writable DS. I need access to it but it seems like the XSLT tool wants a "Relative Path" or direct path to the file. Is there anyway to get just the XSLT Syntax from the Writable DS?. When I set the variable in the XSL file box. It outputs the below The XSL file…
-
Decryption Failure
I'm encrypting password in java class, using MCipher (base.jar). Using encrypted password in my service. Its giving "General_Error", Unable to process your request response. When i search logs, im seeing "Exception while decrypting Password". I have added base.jar in my ExtensionTool under ModifyClassPath. Please suggest…
-
Is it possible to reference data source columns with a prefix value?
Hello, I was wondering if there's a way to reference a data source column using a prefix value similar to referencing environment variables. I have two data sources with each using their own Excel file. I see request clients able to specify which data source to use. If I select one data source, is it possible to still use…
-
Parasoft SOATEST Certification
Hello, Is there parasoft soatest certification available. If yes please guide me how to take it. Thanks!
-
Static analysis violation
Hi I run the recommeded rules in c++test. I take a several violation in code. I did not interpret one violation which says 'Value 42 is out of acceptable range' lower than 30'. What does the meaning of it? I did not understand violation. The sreen shot of violation is attached to question.
-
Declaring variable at suite level
How to declare a variable at suite variable and assign it from Java class?
-
How many variables can be passed to bitbucket script from jenkins
Hi Have a build(Execute shell) script on jenkins that calls like this ** whoami cd /var/lib/jenkins/workspace/TEST/scripts bash deploy.sh $ENV $HST $CMP_BLD $VER $CA $CB $CC $A1 $A2 $B1 $B2 $C1 $C2** But when running this job , I am only getting the values till A1 and A2 , and rest of the variables are getting wrong values…
-
parameterization with java code
Hi I have a request xml, with literal xml file option I am fetching the request. Now I want to parameterize the request node values with java code. can anyone help me into did scenario
-
maintain Object Properties for UI in separate file and reference it in Browser Playback tool
Is there a way to maintain the object properties (xpaths) for each object in the UI as a separate entity and reference it in browser playback tool so that for any changes in UI properties, it can be modified in this file instead of visiting each test step.
-
Dtp publish
I run some unit test via jtest and then I want to publish result of coverage to dtp. Therefore I create a project in dtp for this purpose. But ı take a warning which is shown in attached screen shot. I think there is a problem. Because when I open the project in dtp ı can not show any published result
-
Create\update regression control
can the create\update regression control be used from Parasoft REST API code. Im trying to create a test suite through Parasoft Rest API and I need to add the regression control, but I do not see the code available under any package, I see only diff control is available.
-
Running Tests simultaneously on same workspace (SOATest License Server)
I know this is not possible on the desktop versions on soatest, but my question is directed on the soatest server side version. can I run the same .tst (same workspace) multiple times at the same time? Of course the test cases are different but the shell tests are the same. or run a different .tst in same workspace…
-
Data Source Correlation - Request Body
I am trying to use the Data Source Correlation Request body but the documentation in the help is limited and doesn't have any examples. Are there any examples on how I set up the xpath correctly for the JSON Request Body that the service is receiving? In my request I have three elements and I want to match on one of them…
-
Cant write values to Test Suite Variable
I am unable to write a value generated from the data generator tool to a variable stored on the test suite level. What is the way of writing values to these variables? The documentation doesnt really specify how to do this. Additionally I am unsuccessful of generating values from a writable data source.
-
Issue with Alteration within XML Databank
I have a client who is trying to replace a value in the XML data bank. They have the correct path provided and data source / column selected. However, it is not updating the value to the one in the data source column. Are there some additional steps they may be missing? Can it update on Xpaths that end with text() ?
-
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