3rd Party JS Libraries

Hello Postman Community,

I would like to see if anyone has a solution to an issue I am facing when trying to leverage 3rd party libraries.

The proposed solution I have found in stack overflow and the postman bog and other places is to use eval on the library (saved as a variable) in order to use this. (http://blog.getpostman.com/2015/09/29/writing-a-behaviour-driven-api-testing-environment-within-postman/)

I was able to get this to work on the chrome app, but when I try to use this method on the desktop app it does not work.

Does anyone have a solution for this?

Is there any error ?
What library is it ?

Hey @aksbenz - I was able to figure this out! I made a few small mistakes.

@kjepsonVF - welcome to postman community. I’m glad you could resolve the issue. I’m curious though what mistakes were they. Maybe knowing that would help others from making the same and maybe for us to ensure the docs and usage is clear.

@shamasis - Yes, I will document this and post a small collection so that others can see the mistake and the solution.

A bit busy this morning, but I should have time this afternoon or tomorrow to get this up!

1 Like