30 days of Postman - Day 00

Hi, I am starting with 30-days challenge and I have problem with notif request.
After setting key on today’s date like e.g. November 11, 2021 i got failed test result
daily challenge reminder | AssertionError: expected true to be false
Would someone please explain why that happens?

Hey @zyraf, Welcome to the comunity :partying_face:

If you open the test tab in your request, you can see that this test is supposed to fail so that a monitor notification is triggered.

if (progression <= totalChallengesIndex) {
    pm.test("daily challenge reminder", function() {
        // write a failing test to trigger a monitor notification
        pm.expect(true).to.be.false
    })

So this AssertionError is supposed to happen. Do check the postman console as it will guide you to take further steps in the challenge.

Good luck!

2 Likes

@bbahadur Thanks for your warm welcome :slightly_smiling_face:

Thanks for explanation and advice to use postman console in steps it will be very usefull to understaing how code work. Can’t wait to do next steps.

1 Like

what code we have to write here.

Hey @daminimehra :wave:

the line

pm.expect(true).to.be.false

is a failing test already written, so you don’t have to write any code

yes, I got it!
thanks :slight_smile:

1 Like