# Collection test pass but Monitor Fails?

**URL:** <https://community.postman.com/t/collection-test-pass-but-monitor-fails/47282>\
**Category:** Help Hub\
**Tags:** monitors, collections\
**Created:** [May 9, 2023, 8:52pm UTC](https://community.postman.com/t/collection-test-pass-but-monitor-fails/47282 "2023-05-09T20:52:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JJatPeds](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@JJatPeds](https://community.postman.com/u/JJatPeds)\
**Post date:** [May 9, 2023, 8:52pm UTC](https://community.postman.com/t/collection-test-pass-but-monitor-fails/47282/1 "2023-05-09T20:52:45Z")

</div>

_My question_: I created a collection that is using Environment variables, I added tests to the collection and when I run them manually everything is fine, but when I create a Monitor based off of the collection they all fail. None of the api calls are saving to any variables, they are static. There is no information being passed between calls.

_Details (like screenshots)_:  
Collection

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/b/3bfda9677450553fdf210ad6eea3dc86547f1e4b.png)  
Environment variables  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/1/218c80be3254bd814b8c2fa3f380889f74952d4a.png)  
Monitor Log  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/a/e/ae7f5d281c8086c034d903de4f77f997b7fe002c.png)

_I’ve already tried_: Using collection variables, using environment variables, using global variables. The apis are on a public APIM gateway.
