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
1answer
21 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
27 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
23 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
30 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’...
4
votes
1answer
59 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
3answers
66 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
42 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
77 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
0answers
30 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
56 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
35 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
72 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 ..
1
vote
4answers
288 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
157 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
15 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
289 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
116 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
2k 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", "...
0
votes
2answers
437 views

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

I am working as QA in a company. We create client-server mobile application. Now I have an idea to test API via automation my daily routine. What is the best to test REST FULL API? Any suggestions, ...
0
votes
0answers
83 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
239 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
112 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
288 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(...
6
votes
2answers
658 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
345 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
282 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
411 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
156 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
67 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
47k 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 ...