Libraries & Frameworks

I am designing automation scripts using the REST APIs, RestAssured with Cucumber BDD framework. I have multiple APIs where one API’s response is used as a parameter in another API.
Here is my feature file:
Feature: Create Order API

Scenario Outline: Generate Access token With Valid Details
Given Query param for request
| grant_type |
| client_credentials |
Given Basic Auth keys for request “<userName>” and “<key>”
When Build request for baseurl “PAYPAL_BASE_URI” and endpoint “ENDPOINT_GET_AUTH_KEY”
And Perform “POST” request using
Then status code is 200
And response contains “scope”
| userName | key |
| AWnCb | EMAekuSA2f |

Now the response of the above API is as follows:
“scope”: “”,
“access_token”: “ALs1szFnv2TJ19Zf3vq”,
“token_type”: “Bearer”,
“app_id”: “APP-284543T”,
“expires_in”: 311286,
“nonce”: “2022-05-31T03:41:41ZWs9dpOQ”

Now I need this “access_token” as in the “Create Order API” Authorization parameter with Bearer. also i need to pass “app_id” and “nonce” in the Create Order API. The “Create Order API” feature file is below:
Scenario: Verify create order api using valid auth
Given Generate request
And Build request for baseurl “PAYPAL_BASE_URI” and endpoint “ENDPOINT_CREATE_ORDER_API”
And Set header values as
| Content-Type | Authorization | app_id | nonce |
| application/json | <token> | <app_id> | <nonce> |
When Perform “POST” request using “FILE_PATH_ORDER_JSON”
Then status code is 201

How can I get the values from the response of one API and the use that data in the next API as payload or query param in the same feature file so that I can use it anywhere in this feature file?

I was trying to interact jmeter and influx db but getting as ERROR o.a.j.v.b.i.HttpMetricsSender: Error writing metrics to influxDB Url: http://localhost:8086/api/v2/write?org=ITM&bucket=JMter, responseCode: 401, responseBody: {“error”:”unable to parse authentication credentials”}
Could anyone please help me.

In any testing situation, when you’re using a tool, you must understand its working principles. You must know what it can and cannot do. You must know how to configure it, and how to calibrate it, how to observe it in action, and how to adjust or repair it when it’s not working properly. To do THAT effectively, you must be able to recognize when your tool is not working. … Read more

“Language models” is typically interpreted as a compound noun, something that models language. What happens if we consider “models” as a verb, though? We get a simple declarative sentence, with an implied object: language models our thinking, or language models the world. As with any model, replacing or modifying one of its elements can suggest something interesting, which can help us to refine our answers to two big questions that … Read more

Test Guild – Automation Testing Tools Community
Continuous Testing in DevOps Bootcamp (2024 Guide)
One issue I often hear about on my podcast is the fact that many teams are not taking advantage of continuous testing in DevOps. This is unfortunate because, when done right, it could be helping them deliver high-quality products faster to their customers. The common cause of the struggle is the need for a proper
You’re reading Continuous Testing in DevOps Bootcamp (2024 Guide), originally posted on Test Guild – Automation Testing Tools Community – and copyrighted by Joe Colantonio

AI dramatically transforms the gaming industry by automating world creation, producing realistic graphics, and optimizing production economics. The blog discusses how it enhances game testing and data optimization, ensuring polished, engaging, high-performance games. However, challenges like intellectual property and ethical concerns need careful management. AI also enables dynamic NPC behaviors and personalized gaming experiences.
The post AI in Games: 5 Ways it’s Transforming the Industry first appeared on TestingXperts.