Greg Stroup

Results 30 comments of Greg Stroup

Hey, how's it going? This change looks logical to me, but it's breaking some tests. Do you have time to fix tests, and maybe add one for your new case?...

Just ran the build again, and no failures. Looks like some other tests are flaky.

+1 We have a passport strategy for Predix that we'd like to share on the main passportjs.org site. How do we do that?? Thanks. https://github.com/PredixDev/passport-predix-oauth

That feature is not supported right now. Although it does sound useful! We could add another admin endpoint to dump out current configuration. I'll try to add that soon. Also...

Yes, you can use JSON Path to evaluate your JSON request, and return different responses: https://github.com/gstroup/apimocker#jsonpath-support Let me know how that works for you. Thanks.

Ok, I see what you mean now. JSON path evaluation for switching on complex requests is only supported for JSON Post requests right now. The POST method is the standard...

Hi Muneer, That's a strange API you're calling! : ) Anyway, take a look at line 219 in the apimocker.js code. That's where the JSON path evaluation happens, on the...

Hi, are you working on a mock responses for a JSON POST request? It looks like that's what you're doing, so you should look at JSONPath. There's some info on...

Can you share a sample request? (URL, headers, body) Do you want to return different responses based on the data in the request body? You could possibly use a regex...