Skip to main content
0 votes
0 answers
44 views

Getting 'Account not authorized' error with OAuth 2.0 password grant type in Python script

I’m trying to fetch an OAuth 2.0 token using the password grant type in a Python script for an API integration with a cloud service (Infor CloudSuite). The script uses the requests library to make a ...
Scott Badger's user avatar
-1 votes
0 answers
20 views

Maintain postman collection also stored on Github

I have several postman collections which is also stored on github so we can run them with newman. The problem I'm having is that I need to do every change both in postman and in an editor for what is ...
Jeppe's user avatar
  • 1,573
0 votes
1 answer
60 views

In httpYac how to assign the current system time to a variable and use this variable in http request payload?

For my e2e tests I'd like to get the current date and time and use this dateTime string in the payload body, like this: ### Precondition: Create a contract with current time stamp in ISO format # ...
Nicole Naumann's user avatar
1 vote
2 answers
340 views

In the latest version of Bruno, is there a way to read data in from a file, to use as a feeder in a PUT request?

-I can use pre-request and post-response scripts and test scripts inside individual requests. -I cannot use collection-level scripts because I only have the free version. -I can't find a method in the ...
DTM's user avatar
  • 11
0 votes
1 answer
38 views

Building and running automated test on User Profile API endpoint but getting error message

I’m creating as well as running an automated test for Profile Page API endpoint using the DRF extension APITestCase. I already created/ran two separate automated tests for the login/registration API ...
Corveloper's user avatar
0 votes
2 answers
46 views

Using Jmeter Websocket sampler with no port number in the URL

I'm working with a websocket api thats hosted on AWS. The URL doesn't have a port number. But the Jmeter websocket plugin by Peter Dornbosch requires a port number in the URL in order to function. ...
Nathan Antony's user avatar
1 vote
2 answers
87 views

How to store specific data set from JSON response body?

I am trying to learn cypress then come across a topic in validating json response body but did not discuss on how to store it in a variable. I would like to know how to store specific data set in a ...
JC Basilio's user avatar
-1 votes
1 answer
53 views

Postman test script for matching 2 key values inside of each item

Here is how the response tested looks like: [ { "label": "Summer '14", "url": "/services/data/v31.0", "version": "31....
No Tools No Craft's user avatar
1 vote
1 answer
39 views

Laravel AuthenticatedSessionControllerTest Fails with 404 for Login and Logout Tests

I am encountering an issue with testing the login and logout functionalities in my Laravel application. When I run the test suite, some tests fail with a 404 status code instead of the expected 401 or ...
Abdulrahman Astra's user avatar
1 vote
0 answers
48 views

Integer values being converted to float after being passed into a JSON file

I'm having a problem I've never before experienced with Karate. This is the basic skeleton of the code I'm working with right now: Feature: This is a feature to test account updation Scenario: ...
rum_15's user avatar
  • 51
1 vote
1 answer
36 views

How can I validate that a name-value pair has a value that contains text in an API response object?

I am currently writing API tests with karate and I've run into a scenario I've been struggling to resolve. I'd like to validate that each object within the response has a specific item that has a ...
jsmith's user avatar
  • 11
0 votes
0 answers
60 views

Ktor Google OAuth API Testing

I've been developing backend service using Ktor and regularly testing the running service with Insomnia. I began implementing OAuth 2.0 using Google OAuth and I have the flow working as expected ...
Jacob Jerrell's user avatar
2 votes
2 answers
155 views

How get a REST API endpoints coverage test report in Java

I have a spring-boot project with existing unit tests and Karate integration tests that interact with my application during my maven build cycles and I want to have a generated report that tells me ...
user12240044's user avatar
0 votes
1 answer
194 views

Loading ".http" test file in Visual Studio. This triggers an error in the VS 2022 Output Box

I am trying to run a test file for my Web APIs using .http files. However, whenever I attempt to load the file in Visual Studio 2022 in the output box I get the following: Executing command 'dotnet ...
Aditya Gupta's user avatar
1 vote
1 answer
46 views

global variable returns NULL value after upgrading the karate version from 1.4.0.RC3 to 1.5.0.RC4

We have a feature file in which we declared a global variable to use across different scenarios within the same feature file. It was working well until I upgraded my Karate version from 1.4.0.RC3 to 1....
Vijay Kanth Perikala's user avatar

15 30 50 per page
1
2 3 4 5
56