Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [api]

Application Programming Interface : a set of functions and procedures that allow the creation of applications which access the features or data of an operating system, application, or other service.

0
votes
2answers
40 views

How to monitor the health of my web application

We have test and deployed a web application to production a which contain few API calls. Now the client is complaining some times some of the API's are failing and we UI is not populating data. To ...
-1
votes
0answers
37 views

Integrate and send result from java api to test rail api using cucumber feature

I'm trying to connect from Java API to test rail API. For Java API I have chosen to write the step using Cucumber, to send automatically the test result to test rail test case. Can someone please ...
0
votes
1answer
38 views

How do I pass payload to API test?

I'm creating an API testing framework, and to avoid having a test class containing 1000's of lines of code I'm looking at creating separate classes which will hold the xml data, which I'll then call ...
0
votes
1answer
46 views

Setting up an API Test Framework

I'm testing an API and I'm looking to define my payload using classes so that my program can then deserialize/serialize into any format(namely XML in my case). Below is an example of the payload <...
0
votes
1answer
29 views

XML Payload gives 'The ' ' character, hexadecimal value 0x20, cannot be included in a name.' error

I'm attempting to create a test framework in c# to automate some of our API tests. Relatively new to this area so have come across an issue I can't solve. My XML payload is as below: <Order> ...
0
votes
0answers
20 views

Creating a Request Payload in RestSharp using XML

I'm currently looking at building a test framework in c# utilising Restsharp. The payload I'm trying to create is outlined below <Order> <BillingAddress> <AddressLine1></...
2
votes
1answer
39 views

Passing parameters between tests with RestSharp

As I'm getting more familiar with the RestSharp client library for my API testing I'm confortable with using it for single API response checks e.g. checking a status code is correct, or that the ...
0
votes
2answers
47 views

Testing multiple API contracts as part of 1 test

I have a situation whereby, say, I have one API which creates an employee(POST); one which then returns the employee(GET) and one which deletes the employee(DELETE). I've been using RestSharp/C# to ...
1
vote
1answer
37 views

How to test API contracts when there is a dependency on data from an outside source

I'm after some advice regarding a project I am currently working on. There is a front-end, similar to what Amazon is like in that sales are fed through the site(there is no API for doing this). ...
1
vote
0answers
28 views

Consumer-driven Contract Testing

I've just come across the term consumer-driven contract testing and, working as a QA, was wondering a few things: 1) what does this actually mean in laymans terms? 2) who would generally execute ...
4
votes
1answer
182 views

Assistance with a DELETE request in Postman

I'm attempting to create some API tests to assist with getting familiar with API automation and I'm using the really helpful Restful-Booker API for this. The API documentation is also here. However I’...
5
votes
1answer
74 views

Good strategies to test integration with multiple external providers

I have a single service that acts as "middle-man"/gateway between a few internal services and multiple external complex APIs, over 20 to 30+ different ones. I want to direct my testing efforts in ...
1
vote
4answers
276 views

API Testing tools in C#

I'm looking at writing at automated tests to cover regression testing in respect of Restful API's. I have familiarity with how to do this in Java using Rest Assured, however the company I currently ...
1
vote
1answer
47 views

SoapUI response: Integer range validation

One of my API's is returning, "minStudentAge":12 For a one API out put there will be 5 ,6 "minStudentAge" tags with different integer value. Is there any way to validate the integer value which ...
2
votes
4answers
82 views

Career path advice - microservices or APi testing

How to become an automation expert in restful api testing ? Is this similar to microservices testing or is that a different approach ?
0
votes
1answer
74 views

Testing NIFI: best practices

I do have new task related to test NIFI Apache. not sure where to start or how to. I have one thing in mind to test it as an API but the only response it sends is status code. I know also it has be ...
0
votes
1answer
62 views

API automation for a android App [closed]

I have to start API automation for a android App. App is coded in C++. Please suggest the approach as I am new to API testing.
1
vote
1answer
37 views

Should I test the created data after using Post Https Requests from Postman?

We are gonna use Postman to tests our API resources. When you create a Post HTTP request to your API, it returns success response and not sure if the data were created successfully and correctly. ...
1
vote
1answer
139 views

Comparison testing using karate tool

I'm using karate tool for api automation testing. Is there a way to do comparison or A/B testing using karate - That's testing with 2 urls and making sure both return the same response..please help ..
2
votes
4answers
462 views

How to create automation framework for automation of REST APIs?

Currently, I am using JMeter to automate APIs but I have been asked to form a framework that is quicker and convenient to use for everyone in the team and a framework that preferably involves reading ...
3
votes
2answers
274 views

Where to find the authorization token in JMeter recorded scripts of a mobile android app?

I am getting unauthorized error for my HTTP request. I recorded the server side interaction of Android app using JMeter proxy script recorder. Only the login request is working, but the token is not ...
0
votes
1answer
1k views

How to get Embed link from Openload API after Remote upload? Selenium & Python

im trying to use Openloads API in python, i can do a remote upload like this: ol_url = driver.current_url resp = ol.remote_upload(ol_url) file_id = resp.get('id') Now i have a file uploaded in ...
0
votes
0answers
16 views

what tool can I use to automate rest api [duplicate]

I am trying to automate REST API. I am new to REST API application. What tools are available to test?
2
votes
3answers
293 views

API testing single layer

I would like to start writing some API tests for one of our APIs, but we are seeing a lot of issues with stability of other APIs and I'm not really sure how to handle that problem. To clarify I have ...
0
votes
1answer
170 views

How to access the TestRail API behind basic authentication plus form based authentication?

I’m trying to access the API of TestRail (by gurock) on our self-hosted TestRail server (version v5.1.0.3413). To use TestRail, we have to login with basic authentication plus form-based ...
0
votes
2answers
3k views

How to pass parameters in body of JSON request with GSON builder

JSON example: { "locale": "abc", "passengers": [ { "address1": "xx", "address2": "yy", "city": "London", "county": "Test", "dateOfBirthDay": "2", "dateOfBirthMonth": "1", "...
1
vote
2answers
591 views

What is the best way to test API? [closed]

I am working as QA in a company. We create a client-server mobile application. Now I want to test our APIs via automation during my daily routine. What is the best way to test a RESTful API? Any ...
0
votes
0answers
91 views

Which are the best practices to design a SOA testing architecture with UFT?

Best practices to design SOA test architecture in UFT Which are the best practices to design a SOA testing architecture with UFT? In SoapUI it is suggested to make a testsuite for each WS, ...
1
vote
2answers
290 views

How to extract rcAuth Token from header and POST as parameter to call an API

I'm automating email verification process, For that I have an API where I have to pass the emailID with the URL e.g.http://apiqa.somewebsite.in/api/v1/verify-email-qa/narendrarajput@gmail.com and have ...
1
vote
0answers
129 views

laravel codeception api testing. Test structure

I want to test all my api endpoints with codeception. I started off with a more model based approach: class UserCest { public function it_can_request_its_own_status (ApiTester $I) { $...
0
votes
2answers
397 views

How to run one Http Request between execution time of other two Http Request in Jmeter

I am Using Jmeter for load testing so i am little bit struck so here is problem i want run continuously (Http-request-2) getDriverLocationId in between Trip started(Http request -1) and Trip complete(...
7
votes
3answers
752 views

API test automation: GUI tool vs programmatic approach?

We have a Rest API written in C# and I need to investigate a good approach to automate the tests. There are 2 ways to automate API tests: GUI tool (e.g. SoapUI) Programmatic approach, using some test ...
3
votes
2answers
5k views

How to test Single Sign On (SSO) implementation?

Single Sign On (SSO) is being implemented on the application I work on and I have to QA this ensuring that nothing breaks due to the aforementioned implementation. The development side told us that ...
1
vote
1answer
404 views

How can I provide delay between dependent API calls dynamically in JMeter script

I want to create JMeter script in which some API calls are made only after the response to the API calls which it is dependent upon is received successfully. Is it possible in JMeter? And if yes then ...
1
vote
2answers
56 views

Api load testing with certain scenarios

Hei. I've done some api testing with java using restassured framework, but this doesn't seem to have a good solution for load testing. I would need a recommendation for a tool that could help me with ...
-1
votes
1answer
305 views

How to get all test cases from a project through testlink api?

I can only see methods to retrieve the test cases if they are bind with any plan. (getTestCasesForTestPlan). I want to retrieve all the test cases written by the user before its used in a plan. ...
5
votes
2answers
468 views

SoapUI Groovy Script for date field to always use “last week”

I'm trying to use property as an input for API that requires a date. Since I'm remaking these tests every day, and will probably use them in future again, I want the value to be fluid. I encountered ...
1
vote
2answers
172 views

Automate the API using rest assured

I have some got rest API's for testing with rest assured. How to automate using with rest assured ? What are the different cases that should I need to test ? This is a sample API .What are the test ...
1
vote
1answer
68 views

Start with soap ui [closed]

I want to do API testing in my project. I installed soap ui for api testing. I don't know to get start using soap ui. Can anybody help me to start doing soap ui testing . Is we have to write ...
12
votes
6answers
48k views

How do you test a backend API?

I was applying for QA position and the SDET asked me this question: How do you test a backend API? In the interview. I wasn't sure I answered it correctly. Just wondering if I can get some input ...