-
How to validate uniqueness of a field value in the JSON response.
Hello everyone, Can someone help me how to validate a field, if the value returned in response in unique and contains no duplication. E,g: In below JSON, id field occurs multiple times, I want to validate "id" is unique and it's not duplicated in the JSON response. { "merchantCategories": [{ "id": "0001", "description":…
-
Column is not a valid date
While I am testing REST API I get such kind of error messages: I don't want Parasoft to validate if date format is valid. I want to switch off this in Parasoft. Is it possible? If yes, how? What I want - everything as input should be interpreted in Parasoft as a string. And then endpoint will decide, if the input string is…
-
How to integrate groovy scripts in parasoft.
I have groovy scrips in my soap ui test suite . How do i integrate those scripts in parasoft?
-
How to know if an existing service in parasoft is a Rest Api or not?
How can we get from service if the service is rest api or not.
-
How to add java project to classpath
Hi, I'm new to Parasoft and while exploring it i encountered the below line in [Extensibility and Scripting basics] : If your Java class is from a Java project in your Eclipse workspace, add the Java project to the classpath. Can anyone tell me how to add java project to classpath. And also when i select 'Scripted' option…
-
Groovy Scritping not allowed in Community Edition ?
Hello, While creating a response for a request in virtualiser , I saw an scripting and when clicked bydefault groovy language was selected and an editor appeared on my screen.But I couldn't type anything there ,is this feature only for paid license?If not then any tutorial on the correct approach to use it.
-
Any video related to how to use java code to read incoming request
Hello, Is there any video related to how to use a java code to read incoming request and produce a response according to it?
-
GitLab Integration
Hi, I have runner installed on my VM and registered. But, I'm getting the following error: ERROR: Preparation failed: ssh: unsupported key type "OPENSSH PRIVATE KEY" My .toml: [session_server] session_timeout = 1800 [[runners]] name = "testing em api" url = "https://gitlab.com/" token = "TOKEN" executor = "ssh"…
-
Need timeout == pass
Infinite loop timeoutI want C++Test to report a success if timeout is triggered. I have an infinitely looping task. I expect a timeout. I don't want the timeout reported as an error. Here is the basic setup of the function (which I am not free to change) ... void MyInfiniteTask(void) { while (TRUE) {…
-
Anyone providing Parasoft SOA Test online training?
Hello All, I am looking for a Parasoft online trainer urgently. If anyone is interested please let me know. Thanks, Arindam. Email : arindam.itsme@gmail.com arindam dot itsme at gmail.com
-
JSON assertion validation for status code 200.
My script reads test data from excel which also has a status code( expected result) column in it. Scripts fetches data from excel and compares it with status code to validate. Since output of my API is generated in JSON format, I am using JSON asserter to validate status code. The problem that I am facing is for a scenario…
-
How to Create a .tst Using a Windows Shortcut Key
How to Create a .tst Using a Windows Shortcut Key Description: Inspired by EM/CTP's quick actions feature, I took advantage of SOAVIRT's REST API and Windows Powershell to use an alternative method to create a client for those times when I want to quickly test an idea, demo a feature, or assist someone on the forums. :)…
-
Is there any option/flag for the user to turn ON/OFF Regression/Diff Control for all tests at once
I want to turn ON/OFF (enable/disable) Regression/Diff Control for all my tests before starting my execution. Is there a place where i can control this setting?
-
Manipulating "Router Endpoint" in "Message Forward" using script
I'm checking for a string and if string's length is not > 0 than I want to change the endpoint If I put my Application.showMessage I can see that I'm in else when the size is not > 0 but the return does not seem to be returning because I get the error Here is my sample code jython code from com.parasoft.api import * from…
-
Parasoft SOA test is getting hanged when i try to invoke a 2MB size excel file into data source?
Hello, I am using Parasoft SOA test 9.9. * Create a .tst. * trying to add a excel sheet to data source (excel file size is almost 2MB). everytime I import the excel , I am getting an error that Parasoft is not responding or the tool get freezed. I will have to go to Task manager to end the process. Is there any limit in…
-
Can Bitbucket source repository integrated with Parasoft ?
Hello , we are using bitbucket as a source repository to store Parasoft SOA test .tst scripts. Can Bitbucket integrated directly with Parasoft? Currently we use some commands to checkout/check-in the code to Bitbucket. Earlier , I used TFS - Team foundation server and Rational Clear Case tools, where I can directly…
-
how to preview HTML response using parasoft SOA test 9.9
When I try to Execute GET Call using PostMan, I am getting successful response and I can see HTML page content in response. where as when I use the same GET Call url in parasoft via REST Client , I am getting http:307 and header has a redirect url. * can someone help me understand why the behavior is different in Parasoft…
-
How to generate Report in CTP for any Job headlessly??
Requirement: Generate Report for any job in CTP without interacting CTP portal. Is there any REST API or URL to generate the report & to send out to different emails. I am looking this in CTP using headless concept.
-
DB tool with extension tool
I am very new to SoaTest and was having difficulty utilizing the extension tool with the DB tool. I was wanting to access the results of a db tool query within the extension tool but was having difficulty doing so. The input object just shows "text" where if i attach the extension tool to a soap response, I will recieve…
-
I want to add the amount and assert the total to a value
Hello, SOA test : 9.9.5 I have an API where the response will be the clients accounts details like(accounts name, Category, amount and etc). I want to add all the different accounts "amount" and assert the same with the "total balance" field. please advise. Thank you. regards, Neil
-
How to fix java.lang.runtimeexception error initializing storage while launching SOAtest
Hi Team, We are receiving a error " java.lang.runtimeexception error initializing storage , An error has occurred. See log file null" while launching SOAtest. I didn't get any help from recent posts in Forum and its blocking the execution. kindly Suggest the solution for this
-
Parasoft SOA test, I want to RUN the same .tst 100 times with out datasource
Hello, I want to RUN the same .tst 100 times with out data source. we press f9 to Run the test once , can we do it in any other way to RUN the same 100 times. if we use excel sheet, then yes , we can cope the same data to 100 rows and RUN all rows. but my requirement is i am not using excel sheet. tool : parasoft SOA test…
-
How to validate non-numeric field is ASC or DESC?
Hi All, type: REST API, method: GET 1)My JSON response contains list of documents, In which I have filename field (non-numeric). I can send a parameter in request to get all the documents sorted ASC or DESC on filename. I want to read the filename in response and check the order is ASC or DESC. 2) same way I also want to…
-
Importing/ exporting Data in TDM using a script
TDM allows us to manage and manipulate data in CTP. There are many cases where we would want to store snapshots of our data in source control. The following scripts utilize the TDM apis to accomplish this.
-
Runtime exception in the test case generated!
Exceptions in QString in the test cases generated...Consider the following code Snippet!! - Its a Qt based application... In one of the generated test case, we have: CODE ... .... const ::QChar * _arg1_0 = 0 ; /* Initializing constructor argument 2 (unknown) */ int _arg2_0 = cpptestLimitsGetMaxInt(); ::QString _text…
-
Timeout is normal
I have a piece of code that should wait on a semaphore for forever if everything is working OK. /*Setup threads and wait*/ sem_wait(&semaphore); //Wait for forever unless program termination is required. /*Case for exit conditions*/ and should only fail if one of the child threads releases the semaphore, meaning some…
-
How to examine data that was sent standard out
Data sent to standard out from a file1. Create a simple function that will accept two arguments, a filename and mode File: try.c -------------cut---------------------- /* try.c */ #include <stdio.h> /* the foo function will accept the name of the file and the mode as arguments*/ /* and pass the values to fopen, then prints…