Comments (3)
@thim81 Sure. Here's a simplified export:
API Example.postman_collection.zip
The major difference from what's in the test appears to be this line is missing:
"in": "header"
instead there's only key, value, and type
thanks for the response appreciate your help! let me know if anything else would be useful
from postman-to-k6.
I notice in the test (test\material\2\apikey.json
) we're expecting this:
{
"info": {
"_postman_id": "3cb6376b-535c-4c2f-a5d6-7bf193bcc6b9",
"name": "Request",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "TestRequest",
"request": {
"auth": {
"type": "apikey",
"apikey": {
"key": "Authorization",
"value": "secretApiKey",
"in": "header"
}
},
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": "example.com"
},
"response": []
}
]
}
from postman-to-k6.
hi @millerdrew
Thanks for providing the details for what seems to be a bug.
Would it be possible to share your Postman collection or a simplified format of the collection?
That way we can try to reproduce the issue.
from postman-to-k6.
Related Issues (20)
- Many converted tests have "::" in the request url HOT 2
- API Key Auth not correctly being assigned to header
- Question: Hi, its possible for generate postman collection for separate output to multi endpoint file k6? HOT 3
- oauth2 pkce auth code flow support? HOT 2
- Question: how can I repeat a request depending on the response body content? HOT 1
- CI - docker build (and publish) failing HOT 3
- postman variables that reference broader scoped postman variables are not replaced HOT 10
- Support Alternate Environments Format HOT 6
- Support for auto-insertion of import lines HOT 7
- Post request incorrectly exported from Postman to k6 HOT 4
- Common for collection tests not running when no tests in API method HOT 1
- How to pass oauth credentials HOT 3
- The "path" argument must be of type string. Received type object HOT 5
- Can not use atob function because of different built-in libraries HOT 2
- Help wanted - Convert Ava test to Jest test
- Qustion - How to convert multiple postman collections at once..? HOT 1
- Won't run: Form item missing type (file) HOT 3
- Error: Cannot find module 'prettier' HOT 5
- Requests wrongly reusing headers from previous requests? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postman-to-k6.