-
virtualize reponse scripted XML
I never had created a scripted XML using groovy or jython for the whole response. I am wondering if you can share some script for the below output. John Doe parasoft
-
virtualize response
I copied a response message and the message does not come with the tag soap envelope and soap body. I literally change this to form input so I have the flexibility of add and removing elements. When I send the response to the system. The system would not understand the soap envelop and soap body where the response messages…
-
virtualize delay response
I store a value on data source for timer delay value. How do I use this value (10000) before sending the message response?
-
"No tests were executed" msg in Jobs while running the Job in CTP
Hi Team, I am trying to run a job where I have saved my tst file in Test scenario and executing the job from the system in CTP. I am getting msg as "No tests were executed". Although i have uploaded the tst file the same way like others it is not working. If I execute the tst from Test Scenarios, I am seeing the tests are…
-
request and response log traffic viewer
I have started my virtualize server and was able to send requests and mock the response coming back. I have enabled the traffic object ->traffic viewer, under the responder to catch the request and response to troubleshoot some issues. However, I could not see the mock request and mock response on the traffic object. Is…
-
Unable to open .tst file in the explorer
I am getting the below error when i tried to open the .tst file. Soatest is unable to read the fil *** due to the following error. java.io.IOException: com.ctc.wstx.exec.WstxlOException: Unexpected end of ZLIB input stream
-
Error Refreshing CTP
Good morning, When I attempt to refresh CTP I am receiving the error "An error has occurred handling the request in SOAtest." with no additional details. When I check the catalina log file on the CTP server, I am seeing this error repeating. 08-Jun-2021 09:51:14.752 INFO [http-nio-8080-exec-327]…
-
how to enable/disable an optional element on virtualize response
I would like to use only one responder for mocking response. In the response, there are two fields that are optional elements. In case, the datasource values are blank. I don't want them to be send out as part of the response. However, if there are value in my datasource. I would like them to be send out. This works on…
-
how to use datasource correlation virtualize
I have got a soap request with element id value of AAA1xxxxxxxxx. I only need to match the first four characters to correlate with the datasource (excel sheet). I don't see it's possible doing that data Correlation request Body ( as this take the xpath element) and Datasource Column Name only. Is there a way around this.
-
I have a requirement to send sync and async response for a single request in Virtualize
I have a requirement to send sync and async response for a single request in Virtualize. Please suggest me the way. The requirement is to send the sync reponse first then it will the the async one.
-
How to retrieve the newly inserted (using DB tool) data in bookstore using getItemByID operation
I inserted the data in to book store using DB Tool and I tried retrieving the data using getItemById operation which is present in bookstore wsdl. Though data is present in BOOK table i am receiving no book with the id 10 was found How do I retrieve the newly added data in BOOK table using webservice ? Do i have to…
-
Quick guide to setup C/C++test Professional (Static Analysis) on Jenkins
This guide will Comprise of 3 Major Parts: 1 - Initial Project Setup 2 - Running from a command line in Jenkins 3 - Setting up the license on the CI/CD (Jenkins) Machine Part 1 : Initial Project Setup Step 1.1 Creating your Build Data file (.bdf) This is the command I used to create the .bdf :…
-
slimboot bios code coverage
I am attempting to use parasoft code coverage for slimboot bios https://github.com/slimbootloader/slimbootloader it appears that code code coverage requires a test app to run on the target which makes use of a runtime library. Since slimboot is a bios. I do not know how to make that work. The slimboot build process…
-
Constant SoaTest Crashes
Lately, I have been experiencing more than usual crashes from parasoft. Now it appears to happen when I execute a test suite, and after 6 or 7 steps of the 50 or so complete Parasoft SOAtest & Virtualize: Version 2020.1.0 (9.10.9.20200430) -- Copyright (C) 2020 Parasoft Corporation## A fatal error has been detected by the…
-
Explicit Initialization rules are conflicting with Entity Framework
When trying to do code analysis on web services build using EF Core, I am constantly getting this violation For this code: This violation occurs because the DbSet object is build by the DBContext, which does not use explicit initialization This error is occurring every time I'm accessing a database, which is leading to…
-
Kerberos Authentication
I try to setup Kerberos Authentication but hit to the error below. The file krb5cc_ is available in the system, but not sure why SOATest cannot find it. Any idea on how to resolve it?
-
chasepaymentech CC encryption
I'm trying to dynamically encrypt credit card info before passing it t to our API's (simulating the process in the UI, using dynamically-generated PIE settings for the payment with our client chasepaymentech specific .js (https://safetechpageencryptionvar.chasepaymentech.com/pie/v1/~removed~/getkey.js). The sample results…
-
How to get array item count and then increased total count by +1
I've a scenario to add item into array using POST call. Now I've to validate whether the item is added into array list or not, so will check array size increased by +1 or not. I will use GET call to get count of array before and after POST call. Any solution? Here JSON Data Bank may not work, even if get a total count, but…
-
Unmarshalling error with virtual responder
Hello, I have a responder set up to simulate a service our web application depends on. However, when we use the responder in our application workflow we are receiving the following error: org.springframework.oxm.UnmarshallinFailureException: JAXB unmarshalling exception; nested exception is…
-
Getting IOConsole updater error when executing test more time by pounting to virtual server
Hi Team, I face one critical issue while executing the test repeatedly (300 to 500 transactions). The Parasoft server gets slow and some IOconsole updater errors occurred. when I reboot the server then again it's started working. but the same issue again when executed more runs. Refer to the below screenshots for the…
-
How to know how many hits limit to virtual server for professional desktop edition
Hi Team, I have a professional desktop edition version. so the number of hits to the virtual asset is limited to 50000 per day. can you please help me if it's correct. refer below screenshot. Thanks nihar
-
How to view the number of hits for a virtual assets in CTP
Hi Team, Can anyone help me on how to view the number of hits for virtual assets in CTP. I can't see that report. refer below screen. i want to see this type of report but not able to find. Thanks Nihar
-
Jython not returning Data Source value
I am using soavirt 2020.2 version. I am trying to use extensibility tool to get a value from writable datasource and get the error below. I tried convert to string and still the same. Assuming there is a convert to unicode in Jython but could not find anything. Any help appreciated. I eventually want to get current time in…
-
Guide and exercise for uploading the correct artifacts for Source Control
What Files should be Checked into Source Control? When using Source control with C/C++test, make sure to have the following files checked-in: * .parasoft * .cproject * .project * All source files that are needed for the project * Test Folders or other folder(s) you use for your Test Suites * Stubs Folders or other…
-
Debugging a .dll with Insure++
You will need to debug the process in which that the dll actually runs. If you know the name of the executable that loads the dll, and can run that executable by hand, the simplest approach is to simply run that executable under InsureSpy.exe, inject.exe, or Visual Studio's debugger by clicking "Insure++ Debug" within…
-
Report that has request/response in SOA 9.10
Normally in the report for project in which a few TCs are failed we can see the request/response XML by clicking on traffic viewer on the HTML report generated. Similarly how to get all the passed TCs details as well with a link to request/resposne XML ?
-
C++ Fast Track Course
Hello Everyone, Can anyone know fast track course for C++. I am trying to look at the course in which the duration is less. I have checked a video course on youtube and InterviewBit, So Can suggest me, Is it a good course?
-
SOAtest CLI - Increase Functional Traffic Limit KB's
Good afternoon, I would like to test out doubling the capacity of traffic reports from the default of 500kb's to 1000kb's. I am assuming that the desktop and soatest server utilize the User-Defined Example Configuration that ships with Parasoft, and this is what gets utilized if you just click the play button on any test.…
-
Summary of violations by rule && resource group
On the DTP dashboard there is a widget to view 1) violations by rule and 2) violations by resource group. Is there a way to combine these filters and view violations by rule && resource group? I am aware this can be achieved in the Violations Explorer, but that will give me a comprehensive list of all matching violations.…
-
does out of sync virtual assets have any impact on performance
Hi Team, I observe when we execute after pointing virtual environment, then some VA is going in to out of sync. does this impact on the functionalities for the respective virtual assets?? should we remove them every time from out-of-sync sections?? Or is there any way we can remove out of sync VAs from out side at once not…
-
Undefined Reference to Time: C/C++ testing
I am doing a cross platform testing to generate runtime executable with compiler TricoreGCC . I could generate the test cases but am not able to run them or to create the runtime executable. * I have also built the runtime library with the compiler which i am using and added it in to the linker options. * Added the include…
-
Multiple linker errors when using unit tests for a Keil µVision project
Hello, I have a linker issue when using unit tests (cpptest) for a Keil µVision project. The versions are: Keil Arm MDK 5.27 (Windows 10) Parasoft C/C++test Professional 10.5.0.20201022B1126 (Standalone) The project was created by importing the batch generated from Keil IDE. Generating Unit tests and stubs works fine, but…
-
Display dashboard problem
I upgrade DTP 5.4 to 2020 version than i enter license key to DTP but then DTP dashboard did not opened correctly and I took the following error : The dashboard can not be displayed. The dashboard may not exist, may not be shared or you May not have permission to view it. For permissions , I am admin in my machine.
-
It's taking more time for execution while pointing to virtual environment
Hi Team, Currently, we have created a virtual environment by virtualizing some services and we do load tests by pointing to the real and virtual environments. But during execution, I observe it's taking more time when we point to the virtual server than the real one. Please find the attached screenshot for the time taken…
-
Unable to generate unit test coverage report
I am having issues to generate coverage report using Parasoft in eclipse Java. Eclipse display error, **No results were reported during the configuration run. Please check your settings and try again ** Setup Problem [ERROR]could not report coverage Could not find coverage files, probably instrumentation was not done. I am…
-
Real endpoint showing currently offline.
Hi Team, I have set up Parasoft proxy correctly and pointed it to real service. and it's working as expected. but however, in CTP Environment manager it shows "Real Endpoint is currently offline". Can anyone help me with how to remove this error? Note: Everything is working fine and real service is also working fine.…
-
VS 2017 help
Hi, I am using VS2017 and installed Parasoft C++ test v10.4.2 and after installation the Parasoft still doesn't appear in the menu/ What can be the reason for that issue? Thank Sharon
-
How to automate switching of environment between real and virtual
Hi Team, I have a requirement wherein every sprint i need to execute load test by pointing to the real and virtual environments. so for that, someone needs to switch the environment and provision it in CTP every time. But I need to remove the manual effort here. Is there any way or any batch script where we can mention if…
-
Correlation based off a value in Request Body
I need some assistance with this issue. A teammate is trying to set up a responder correlation based off a value incoming from the request service. The issue is that this value is within the element and I need to set up correlation based on that specific value / id within. The section of the request body contains that…
-
ERROR: Error: No valid license (MachineId: LINUX2-188da250)
Recently we migrated our build machines from RHEL 6.9 TO rhel 7.9. After this we are unable to run static analysis. Even in RHEl 6.9 machine, we hit the same issue given below. ERROR: Error: No valid license (MachineId: LINUX2-188da250) We use parasoft/cpptest/9.5.6.26/run_sa_par.sh. Kindly
-
Compatibility 2020.2 to Previous Version
My client was updated to version 2020.2 today and now I am seeing the following Deployment Error when I try to deploy a virtual asset to a 2020.1 server: webtool.test.InheritingAuthentication cannot be cast to com.parasoft.util.DefaultCustomObject Is there a way I can resolve this issue? Our organization has several…
-
How can I create a responder which sends back the exact request as a response?
How can I create a responder which sends back the exact request as a response?
-
linking failure while running unit testing: cannot find -lstdc++
I'm getting the following error while trying to run the generated unit tests: [cpptest_testrunner.cpp] Checking dependencies for C:\Users\userid\myworkspace.cpptest\project\unit-data\current_tubf179707\cpptest_testrunner.cpp ... [cpptest_testrunner.cpp] ...done. [cpptest_testrunner.cpp]…
-
Structural code coverage with Code Composer Studio
I try to carry out structural code coverage with Parasoft code composer plugin I am using Code Composer Studio v8, My target has Flash memory (KB)=32 , RAM (KB)=12. Parasoft C/C++ makes static analsys very well (And also Visual studio plugin works very well) but when I try to carry out " Run TI CCS v4+ application with…
-
Announcing Parasoft C/C++test 2021.1
C/C++test 2021.1 has been released! Our new release introduces new capabilities for software architectural analysis and continues our focus on git-based workflows. Here is a list of the most important enhancements: Dedicated GitHub integration The new release provides a dedicated GitHub action, “Run Parasoft C/C++test,”…
-
Call Java Function in JAR File
I have a java function outside of the message flow I am testing that takes a string, processes it, and then returns another string. I need to call this function and store the returned string for use in another test. Do I want to use the External Tool, Extension Tool or something else? How do I connect to the jar file?…
-
Using a custom property file instead of the common one with soavirt server license
I have a docker image loaded in a On-Prem location. We are using server licenses. The servers are up all the time. They are not using the deploy and destroy pattern. That said: Is it possible to use a "project specific" properties file instead of the one that is specified within the docker file? We are using the shell…
-
Unable to record database queries using parasoft
I tried pointing application servers to parasoft JDBC driver but it is not recording /capturing database query and my application doesn't start.
-
Announcing the 2021.1 release of Parasoft SOAtest, Virtualize and Continuous Testing Platform
The latest release of the Parasoft Continuous Quality Suite of API testing tools is now available with updated versions of Parasoft SOAtest, Virtualize, and CTP. In this release, we focused on four primary areas. 1. Requirements view added in SOAtest to correlate tests with traceability workflows. 2. Increased accuracy…
-
Announcing the 2021.1 release of Parasoft SOAtest, Virtualize and Continuous Testing Platform
The latest release of the Parasoft Continuous Quality Suite of API testing tools is now available with updated versions of Parasoft SOAtest, Virtualize, and CTP. In this release, we focused on four primary areas. 1. Requirements view added in SOAtest to correlate tests with traceability workflows. 2. Increased accuracy…