Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Postman Import] - Request with same name are deleted #3313

Closed
2 tasks done
Iilun opened this issue Oct 15, 2024 · 1 comment
Closed
2 tasks done

[Postman Import] - Request with same name are deleted #3313

Iilun opened this issue Oct 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Iilun
Copy link

Iilun commented Oct 15, 2024

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

When importing a Postman collection containing multiple requests with the same name, only the last request is saved, all other are lost.

Here is a reproducible file:

{
	"info": {
		"name": "Bruno",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Request",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"body\": 1\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "url1",
					"host": [
						"url1"
					]
				}
			},
			"response": []
		},
		{
			"name": "Request",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"body\": 2\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "url2",
					"host": [
						"url2"
					]
				}
			},
			"response": []
		}
	]
}

.bru file to reproduce the bug

No response

Screenshots/Live demo link

Postman
image
Bruno
image

@Iilun Iilun added the bug Something isn't working label Oct 15, 2024
@Iilun
Copy link
Author

Iilun commented Oct 15, 2024

Duplicate of #1300

@Iilun Iilun closed this as completed Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant