Property length should be within the range 1000- 100000

i am having object properties , in that i have one property id , so i need to check in my testcase id should be within range 1000-100000 . how can i write test case for that.

How I found the problem:

I’ve already tried:

@Badgujjar Welcome to the community :partying_face:

You can use something like:

pm.test("Test Case ID validation", function () {

Or if you are familiar with Lodash libraries try this.

Thanks for help, but I already new this method but dnt want to use this above and below. Can I do it in single go?