Questions tagged [rest-api]

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

11 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 ...
Dhiman's user avatar
  • 4,580
2 votes
0 answers
137 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 ...
Barney's user avatar
  • 163
1 vote
0 answers
284 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 ...
Vanessa Bioni's 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 ...
Ross's user avatar
  • 159
1 vote
1 answer
424 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 ...
Jagadish Chandran's user avatar
0 votes
0 answers
36 views

Not able to capture/Extract id generated in response in Post method

I am facing this issue - capture/print the id generated in response last 2 line are the issue, the moment i take out last 2 line,test get passed public void emp() { RestAssured.baseURI= "...
chinmay k's user avatar
0 votes
0 answers
312 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 ...
Makane's user avatar
  • 11
0 votes
0 answers
742 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-...
Lalit Phirke's user avatar
0 votes
1 answer
720 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 ...
Jacek's user avatar
  • 1
-1 votes
1 answer
36 views

I am manually putting ID generated via POST method in PUT,GET method, How to Auomate it

ISSUE- Using post method, ID get generated in response(id=ff80818188956aa6018899e27b76038b), now I don't want to put this id generated in PUT,DELETE,GET, manually(as I am doing below) Can you please ...
chinmay k's user avatar
-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 ...
Narendra Chandratre's user avatar