You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am basically writing a network adapter between two http APIs, and I want to write some integration tests.
For now I have a very simple flow with 2 nodes:
http in [POST /txmessage]
http out [statusCode = 204, body = ""]
That was pretty trivial to implement with node-red and it's working fine (I can query my node-red instance with CURL and get the 204 message). However when I try to test this with the node-red-node-test-helper I always get a 404.
Do you have any idea why this is not working? I couldn't find any recipe of integration testing with node-red and http in/out online, it would be great if someone could point to a fix or suggest another approach. Thanks.
The text was updated successfully, but these errors were encountered:
same problem. how can we write integration tests involving NR's http in node?
The test http requests originate outside, e.g. from a python or go program.
Hi there,
I am basically writing a network adapter between two http APIs, and I want to write some integration tests.
For now I have a very simple flow with 2 nodes:
That was pretty trivial to implement with
node-red
and it's working fine (I can query mynode-red
instance with CURL and get the 204 message). However when I try to test this with thenode-red-node-test-helper
I always get a 404.Here is the code I used:
Do you have any idea why this is not working? I couldn't find any recipe of integration testing with
node-red
andhttp in/out
online, it would be great if someone could point to a fix or suggest another approach. Thanks.The text was updated successfully, but these errors were encountered: