Help - postman why does this exact same test fail

so I have a simple test - to check if response is 200
it runs fine
I duplicated it
I run it - and for some reason

Postman says:
An error occurred while running this request. Check Postman Console for more info.

when I look in the console it says:
Error: runtime:extenstions~request: request url is empty

why? what can I do?

images:



video:
for any details you can also see the video here - https://youtu.be/a8c7vxaR4ss

thank you so much

export of the tests in JSON is beelow:

{
	"info": {
		"_postman_id": "b5b882fc-6c9e-4422-ad96-8e1ef778acbc",
		"name": "QA 317",
		"description": "testing site",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Get All Users",
			"event": [
				{
					"listen": "test",
					"script": {
						"id": "02e03fb3-7953-47e1-b677-edf048fbfa04",
						"exec": [
							"pm.test(\"Status code is 200\", function () {",
							"    pm.response.to.have.status(200);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "trainingxyz.com/api/users/all",
					"host": [
						"trainingxyz",
						"com"
					],
					"path": [
						"api",
						"users",
						"all"
					]
				},
				"description": "Get all users from sample application"
			},
			"response": []
		},
		{
			"name": "Get All Users Copy",
			"event": [
				{
					"listen": "test",
					"script": {
						"id": "02e03fb3-7953-47e1-b677-edf048fbfa04",
						"exec": [
							"pm.test(\"Status code is 200\", function () {",
							"    pm.response.to.have.status(200);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "trainingxyz.com/api/users/all",
					"host": [
						"trainingxyz",
						"com"
					],
					"path": [
						"api",
						"users",
						"all"
					]
				},
				"description": "Get all users from sample application"
			},
			"response": []
		},
		{
			"name": "test 1",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": ""
				},
				"description": "t1"
			},
			"response": []
		},
		{
			"name": "Get all posts",
			"event": [
				{
					"listen": "test",
					"script": {
						"id": "64f228d0-5a14-428f-b7d5-5fb86390e8fc",
						"exec": [
							"pm.test(\"Status code is 200\", function () {",
							"    pm.response.to.have.status(200);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "trainingxyz.com/api/albums/all",
					"host": [
						"trainingxyz",
						"com"
					],
					"path": [
						"api",
						"albums",
						"all"
					]
				},
				"description": "Getting all posts from sample application "
			},
			"response": []
		},
		{
			"name": "Get all Albums",
			"event": [
				{
					"listen": "test",
					"script": {
						"id": "37c18204-8e41-4c61-b1e0-dae980cebfb1",
						"exec": [
							"pm.test(\"Status code is 200\", function () {",
							"    pm.response.to.have.status(200);",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "trainingxyz.com/api/albums/all",
					"host": [
						"trainingxyz",
						"com"
					],
					"path": [
						"api",
						"albums",
						"all"
					]
				},
				"description": "Getting all albums from sample application "
			},
			"response": []
		}
	],
	"protocolProfileBehavior": {}
}

Hey @nyc75c

I can see that the request you copied has unsaved changes, does it run in the runner when you save it?

The Collection Runner doesn’t auto pick up changes in the builder so it could run fine in the builder but not in the runner, if there are unsaved changes.

hi @danny-dainton

thank you for your post

yes runs fine in the builder (see video)

and all changes are saved :confused:

Ah, the video showed that you had unsaved changes (orange dot on the request tab).

If after saving that and running the collection again in the runner…it’s still not working, not sure what’s going on. :confused:

Have you tried to duplicate the request in the sidebar and seeing if that one works?