Questions tagged [rest-api]

When Web services use REST architecture, they are called RESTful APIs (Application Programming Interfaces) or REST APIs.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
2k views

JMeter REST API script not working over Https

I have a JMeter script, that actually have a "HTTP Sampler" for hitting a REST API. This Rest service is running on HTTPS that is currently using "Self-Signed Certificate", but when I run my script ...
user avatar
  • 4,540
2 votes
0 answers
126 views

Using `ava` test runner for functional testing

This question is to get a recommendation from the community, what framework/library they mostly use for testing their APIs (REST) in JavaScript. I stumbled upon https://github.com/avajs/ava, would ...
user avatar
  • 163
1 vote
0 answers
168 views

Header isnt being sent when using faraday gem ruby

I am doing an Api automation in Ruby and I am using the Gem Faraday to automate a file upload in my API. I have the follow problem: My Header is not being sent. I just tried all the options and is ...
user avatar
1 vote
2 answers
1k views

SoapUI/ReadyAPI: How to best compare two data sources

I am currently setting up some REST API tests. I have a test case that has the following Steps: Data Source - Get all Auth credentials in database REST Request - Auth POST getting auth token ...
user avatar
  • 159
1 vote
1 answer
342 views

Get error (Illegal query expression: must be surrounded with curly brackets) while trying to fetch details about test-set in QC ALM Rest api

I want to update the test results of Cucumber test scenarios to QC ALM using Rest API. I have individual test-set for all automation test scenario (There is a 1-1 mapping between automation test ...
user avatar
0 votes
0 answers
22 views

What are appropriate criteria in choosing tools for API Testing?

I am trying to evaluate tool(s) to use for API testing. There are bunch of tools at the moment in market which look similar and I am not sure how to define the criterias to select one. We need to: ...
user avatar
  • 189
0 votes
0 answers
11 views

Need api to check if CrowdStrike detection is closed

I need api which will check if crowdstrike detection is closed. I checked the crowdstrike api documentation but could not find any. I need this api as part of E2E automation
user avatar
0 votes
0 answers
10 views

Need api to get log details from ZScalar

I've a scenario where I need to extract the offense logs from ZScalar using api. I've tried to the use the api fetched from UI but getting 500 response as showed in the screenshot. I've searched the ...
user avatar
0 votes
0 answers
30 views

How do we handle empty string dynamically in assertions in ReadyAPI

ERROR: An error occurred [empty String], see error log for details Hi i have a need to validate two data sources using nested loop on multiple records in several tables Steps Build a Rest Request get ...
user avatar
0 votes
0 answers
139 views

UFT: How can I call a gui test with the result of an api test?

The result of the rest service returns me a url to download a file, I would need to use that url in a gui test to open it in the IE browser, can someone help me how to pass that parameter? My test ...
user avatar
  • 11
0 votes
0 answers
572 views

TestNGClassFinder Warning: Can't link and determine methods of class examples.ExamplesTest

Just started with Karate API test sample project and encountered with this issue. My pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
user avatar
0 votes
1 answer
563 views

How to add test cases to TFS via REST API

I'm implementing a library to export/synchronize test cases into TFS automaticaly during test run. One of my requirements is that I need to use NodeJS, so I decided to use TFS REST API. In my code I'm ...
user avatar
  • 1
-2 votes
1 answer
24 views

How to provide File and some para. to POST API using Python/ C#?

Team, I am trying to provide File and some para. as a input for API. Expecting output based on validation. Even after providing both inputs correctly, I am getting File as null with length 0. Below ...
user avatar