-
Delete a record using Mongo Query DB Tool
Team, Facing issue in delete call using mongo query db tool. When we try to delete using db.collectionName.remove is not possible as it accepts request only json. Please share the possible way to delete the record in mongo
-
cpptesttrace: command not found
I have used Ubuntu OS and tried to create bdf file with command cpptesttrace. But it turns out like cpptesttrace: command not found. (I have already added PATH in .bashrc as well) Here is the command I executed. $ projectName=test1234 $ bdfOutPath=$gitHubWork/$projectName.bdf $ rm -rf $bdfOutPath $ cpptesttrace…
-
Accessibility testing tool evaluation
Hi Everyone, Thanks in advance for letting me ask question here. If we need to evaluate accessibility testing tools then which point should we keep in mind ? it would be great help if anyone can provide checklist for the same. Thanks Arun
-
MongoDB tool - Json Assertions
I use Parasoft SOATest 2022.2 and I have imported "Com.parasoft.soavirt.tool.mongodbtool.jar" and successfully did UI installation and started using in my tests and able to connect to mongoDB and pull Json data and save it using data bank. Problem is Assertions are not working. All the tests are getting passed even though…
-
Text data bank
I think I need to use a reg exp on the following text to extract the value of 12/24/1938. Is there a online tool to do this for me? Date of birth: 12/24/1938
-
How to fail a test scenario using a matching string from response body
Hi Team, I am getting test scenario passed in the CTP since it is considering the http response code as 200 and returning PASS. But the response we are getting is failure in the response body so the requirement is to make that test scenario fail by matching the string from response body. For example: Response body…
-
Testsuite - Datasource error at 1st row
Hi, I am currently trying to run test cases with excel as datasource, in sum 3 rows (test cases). But the test fails at 1st row, the error log isn't helpfull. The datasource setup recognizes the input columns without any issue. In the result report it is showing "test execution problem". The test runs on the hardware,…
-
When installing Parasoft, the option to install the Visual Studio plug-in is not shown
First off, I hope that this is the correct forum. I am referring to the static code analysis tool, which we just refer to as Parasoft in our team. I am following a How To guide, complete with screenshots, which shows the option to install a plug-in into VIsual studio. I do not see this option. Can anyone advise?
-
MakeFile connect problem
I want to proceed with the project static analysis in the built-in version of visual studio. IDE has been delivered to MLXIDE (based on eclipse) and compiler information to eclipse 4.3, and there is an error that does not currently receive #define content. As the header file containing #define content is #included and…
-
How do you stub a function to return a different value each time it's called in a single test
I've got a function with the following code: if (ext_test() == true) { ext_mod(); if (ext_test() == true) { ext_in(); } ext_out();} and I need to make a test that executes out_func() BUT NOT in_func() (the ext_test(), ext_mod(), ext_in() and ext_out() functions access data outside the function; I didn't design this BTW,…
-
C/C++test + CMake -> bdf file generation issue
Hello, I am using the CMake extension for creating C/C++ Test projects and what I noticed is, that the extension is also capturing commands which compile/link temporary files during a CMake build. This is especially, or maybe only, the case when the build has dependencies on other static libraries. These commands will also…
-
How to call 1 of the SOAP Request Parameter in Groovy Script
Hi Team, I am trying to perform the Custom Assertion by using below code with Extension tool by keeping it as a separate Teststep import com.parasoft.api.*; public class Comparison { //Compares a value from a database data source to a value returned in a SOAP response public boolean compareToDatabase(Object input,…
-
How to achieve TextDatabank data storing in Custom Writable Databank ??
Hi Team , Can any one tell me how to store the Textdatabank data into our Writable Datasource so that i can use it in below Custom Assertion method calling String Datasource = context.getvalue("DataSource name",Column name");
-
How to compare values present in XML databank and textdatabank
Hi all, Can anyone help me how to compare the values present in XML databank & Text databank I tried with Diff but it's allowing only 1 value per once I need all the values present in 2 databanks to be compared at a time
-
Parabank application is down
Hi, I'm unable to access parabank demo website, which results in error after sometime. As of now I'm using my local instance of application for testing, creating this ticket for application downtime. URL: https://parabank.parasoft.com/
-
Unable to access Parabank application
Hi, I'm unable to access parabank demo website, which results in error after sometime. URL: https://parabank.parasoft.com/
-
How to add a stub for a Class member function?
For example, class A has a public function foo(). class A { public: int Foo(); } I add the stub like this: void CppTest_Stub_Foo() { CPPTEST_STUB_CALLED("A::Foo"); int __return = 0; if (CPPTEST_STUB_HAS_CALLBACK()) { CPPTEST_STUB_CALLBACK(int __return, const A __this); CPPTEST_STUB_INVOKE_CALLBACK(&__return, this); } } But…
-
Unable to get code coverage report from parasoft
Hi there, I have followed this guide to generate the unit test cases and static analysis https://docs.parasoft.com/display/JTEST20232/Testing+and+Analysis+with+Ant There is this part about getting the coverage which I have attempted and unable to retrieve the code coverage in terms of a report. So do I need to run jacoco…
-
Unknown Service in SOAtest report for tests created from swagger file
I'm seeing "Unknown Service" thing in my SOAtest report for all the tests I made from my Swagger .yaml file. It's showing two things under 'coverable resources" section of the report - my .yml file and "Unknown Service." But the coverage is only happening for the file. I'm using the default User-defined example…
-
Can Parasoft detect signed/unsigned role of variables in code?
Hi, I have tested my code by various static tests of parasoft. My code had somthing like the following: uint8_t a; a = input_from_a _port(); // this function returns a signed char value if(a > 0) do_something1(); else do_somthing2(); This code has fault. when "a" is set to a negative value using input_from_a _port(), fault…
-
Running/Skipping Tests by Environment in SOAtest
I'm on the lookout for a SOAtest solution to selectively run/skip scenarios/test suites and individual tests in specific environments. Ideally, something similar to Cucumber's tagging magic (like @dev, @val) to run or skip tests based on those tags. We gave test flow logic a shot, but it's not sufficient for all our use…
-
.cmd files
Can we execute.cmd files from Parasoft. And if yes then what option we need to choose
-
Can we execute .cmd file from parasoft
Can we execute.cmd file from parasoft. If yes can you pls let me know which option needs to be se select to import cmd file
-
C/C++test 2023.2 Product Release Announcement
We are excited to announce the launch of C/C++test 2023.2, featuring an array of new functionalities and improvements. Notably, our latest release incorporates complete support for MISRA C++ 2023, the cutting-edge coding standard in C++ designed to address safety and security concerns. Industries prioritizing safety,…
-
C/C++test 2023.2 Product Release Announcement
We are excited to announce the launch of C/C++test 2023.2, featuring an array of new functionalities and improvements. Notably, our latest release incorporates complete support for MISRA C++ 2023, the cutting-edge coding standard in C++ designed to address safety and security concerns. Industries prioritizing safety,…
-
What are the steps to migrate postman tests to SOATest?
What are the steps to migrate postman tests to SOATest?
-
How to convert ReadyAPI tests to SOAtests?
Hello, Is there a way to convert existing tests developed in ReadyAPI tool to SOAtests? Parasoft provided this nice tool to convert postman tests to SOAtests [https://github.com/parasoft/postman-soatest] I am looking for a similar solution to convert ReadyAPI tests SOAtests. Please let me know if any of you have any…
-
Looping
I have a soatest test suite that has 12 rest clients. Is there a way to run the test so that it calls these 12 rest clients in 20 loops? Or, do I have to run the test 20 times? Thanks. JT
-
Internal Assertion report generation
Hi team, While implementing internal Assertion I am unable to see it's validations are pass or fail.Can you help me out how to generate a test report in which the internal Assertion validations should be captured
-
Testcase Iteration for API rate limiting concept
Hi Team, I want to execute the testcase multiple times by iterating N times for testing API rate limiting methods can you help me how to achieve it in SOA Test
-
Announcing Parasoft dotTEST 2023.2
Parasoft dotTEST 2023.2 is now available! New Features OpenAI integration dotTEST integrates with OpenAI, enabling you to generate recommended fixes for static analysis violations, enhancing issue resolution efficiency. Support for .NET 8 Support for .NET 8 has been added. Support for C# 12 dotTEST can now analyze code…
-
Extension Tool SQL Data Capturing into Datasource
Hi All I am fetching the data from DB Sql query using Extension Tool the Data is fetching successfully & showing in Console but the issue is i am not getting how to capture those Data and store in Datasource for future usage , Can someone help me on this.
-
How to get the environment variable value using jython in soatest?
How to get the environment variable value using jython in soatest? I need to pass the Env Variables in the service request file with scripted option, How can I pass it? I have used the following option but get the NONE result. def getTestCdValue(input,context): testcd =…
-
Getting Incorrect Result From IsEnabled for Radio Button
I have a pair of radio buttons in an application that I am trying to determine of they are enabled or not. The web element locators are defined like this: _@FindBy(xpath = "//*[@id=\'frmSubject:noContact\']/tbody/tr/td[1]/div/div[2]/span") public WebElement frmJudgeDecisionNoContactNo_RB; @FindBy(xpath =…
-
Maven config params do not seem to be accepted
Hi, Trying to reduce the number of flags on the maven run command. I followed the documentation regarding parameters that could be incorporated into maven. <plugin> <groupId>Parasoft</groupId> <artifactId>maven-parasoft-plugin</artifactId> <executions> <execution> <id>soatest-test</id> <phase>verify</phase> <goals>…
-
Maven Plugin
How do is setup a maven project in parasoft SOA test. how can we get the maven plugin installed on to soatest.
-
Running Maven with SOAtest
Parasoft offers a Maven integration plugin that will allow you to execute SOAtest analysis on project with Maven. Please follow the steps below if you would like to have SOAtest execute during your Maven process: * Before you can use the Parasoft Test Maven plugin, you need to add the "http://build.parasoft.com/maven"…
-
Parasoft Maven plugin installation
I need to install the Maven plugin for parasoft and im currently unable to do it through the market place due to network restrictions , is there an alternate way to add this plugin as a separate file into parasoft. Kindly suggest on the same.
-
CTP Information backup
Hello, I would like to get a better knowledge of the usage of our Virtual Assets. The information provided at CTP Hit Statistics is fine, however, I would like to manage it myself, also, I would like to have historical information available as well, as I understand Hit Statistics data overwrites itself after some # of…
-
DTP 2023.2 Product Release Accouncement
Parasoft is pleased to announce the release of DTP 2023.2. This update is available at no cost to customers on an active subscription or maintenance contract. Enhancements: * Automatic Project Creation * When a user sends data to DTP for a project that does not exist, DTP will automatically create the project if the user…
-
Jtest 2023.2 Product Release Announcement
We are pleased to present the newest version of Parasoft Jtest, focused on enhancing your software quality practices with efficient and reliable test automation. This release introduces seamless integrations with OpenAI and Azure OpenAI LLM providers, enabling generation of analysis of a reported static analysis violation…
-
Jtest 2023.2 Product Release Announcement
We are pleased to present the newest version of Parasoft Jtest, focused on enhancing your software quality practices with efficient and reliable test automation. This release introduces seamless integrations with OpenAI and Azure OpenAI LLM providers, enabling generation of analysis of a reported static analysis violation…
-
DTP 2023.2 Product Release Announcement
Parasoft is pleased to announce the release of DTP 2023.2. This update is available at no cost to customers on an active subscription or maintenance contract. Enhancements: * Automatic Project Creation * When a user sends data to DTP for a project that does not exist, DTP will automatically create the project if the user…
-
SOATest Report - broken image
I'm running a test and the report that is generated has a section called "Summary - Functional Tests" and in that section there is a broken image with the name: func_summary_.jpeg there is no path in the image tag in the source HTML. Where is this image generated during the test?
-
Validation
I have one field in my json as Price : “40.0” ( in string) In json assertor , i am using numaric assertion to validate but its passing where expectation is it should fail as its not integer. How to validate that?
-
How can I restart a test where it left off?
I have a datasource with thousands of rows. Sometimes I need to stop the test (that includes REST API calls). I would like it to resume from the last line executed. It can be done?
-
Stub function are not executing.
In our test application, We have multiple test suits, We created stub for mq_timerecived function used in file many source file. When we executed test application, Stub is called only on 1 test suites and for other test suites even though we registered Stub callback function in test cases, Its not calling stub and stub…
-
How to fetch value from database base and pass in another call
I am using DB tool to write query and fetching All Id messages (will have in xml)and then i am using rest client and want to pass those messages details in payload but how to do that? I want to use individual req for each id and want to pass directly to payload
-
AUTOSAR A7-1-3 - False positive on "const" qualifier
I'm using Parasoft C++Test Professional 2023.1 and I'm getting false positives on AUTOSAR Rule A7-1-3 which states that "CV-qualifiers shall be placed on the right hand side of the type that is a typedef or a using name" Take this example: #include <cstdint>#include <typeinfo>#include <iostream>#include <string>namespace…
-
SOAtest, Virtualize, CTP 2023.2 Product Release Announcement
We're pleased to present the newest version of Parasoft SOAtest, Virtualize, and CTP, focused on enhancing your software quality practices with efficient and reliable test automation. This release introduces seamless integrations with OpenAI and Azure OpenAI LLM providers, enabling effortless generation of API tests from…