Sam Machin
ec86ec188b
Update Test
...
I've changed the DELETE test to expect an empty object as the node is requesting an object response, this will therefore cover testing the new functionality.
The subsequent HEAD test also expects a 204 response but the requested type is txt so that will still expect an empty string response.
2023-08-02 14:32:39 +01:00
Ben Hardill
4c1d7ad2d2
Merge branch 'master' into http-request-form-array
2022-12-24 20:37:33 +00:00
Ben Hardill
661b07c856
Add tests
2022-12-24 20:35:51 +00:00
Nick O'Leary
c62a101635
Fix httprequest tests to be more lenient on error message
2022-10-16 23:10:57 +01:00
Nick O'Leary
f06c53f1f1
Merge pull request #3905 from node-red/mqtt-followups
...
Fix birth topic handling in MQTT node
2022-10-04 15:36:49 +01:00
Steve-Mcl
81b4874a7c
fix new test and fix bug found in previous PR
2022-09-29 19:05:53 +01:00
Steve-Mcl
f11b9c1e18
add test bad birth topic
...
part of #3865
2022-09-29 13:12:15 +01:00
Hiroyasu Nishiyama
ce7b0a3b5e
remove done from describe
2022-09-06 18:05:50 +09:00
Nick O'Leary
a5d7f7acce
Merge pull request #3842 from hardillb/fix-broken-headers-tests
...
Add missing property to node object HTTPRequest
2022-09-02 20:46:22 +01:00
Ben Hardill
58b951e134
Make port number dynamic in test
2022-08-14 15:09:48 +01:00
Ben Hardill
30956b5441
Add missing property to node object HTTPRequest
...
Also add tests for broken headers
2022-08-14 15:02:39 +01:00
Steve-Mcl
5c6b8e9e50
opportunistic tidy up MQTT tests
2022-08-12 18:21:36 +01:00
Steve-Mcl
5a36e8fb11
add tests for MQTT v5 (sessionExpiry property)
2022-08-12 18:20:11 +01:00
Steve-Mcl
be3b5b7fe2
MQTT topic validation and lockup fix
...
closes #3557
2022-04-29 19:56:37 +01:00
Nick O'Leary
c88a177cb2
Merge pull request #3530 from Steve-Mcl/mqtt-payload-auto-parsing
...
MQTT payload auto parsing improvements
2022-04-25 11:40:59 +01:00
Steve-Mcl
4b10b9ffc3
update tests
2022-04-21 21:32:24 +01:00
Nick O'Leary
958f57085f
Merge branch 'dev' into tcp-node-better-split
2022-04-20 09:34:16 +01:00
Steve-Mcl
8ba6a7436e
Add tests for MQTT v5 auto parsing hints
2022-04-15 18:21:36 +01:00
Stephen McLaughlin
a7932da207
Merge pull request #3488 from Steve-Mcl/httpreq-headers-ui
...
Add UI for Http Request node headers
2022-04-06 08:35:32 +01:00
Dave Conway-Jones
8a40622815
tcp node - undo trim if we re-add split chars
...
and fix tests
2022-03-23 22:07:43 +00:00
Stephen McLaughlin
f660973168
Dont run MQTT tests by default on local
...
- update skip message to inform use of how to enable test
2022-03-23 10:00:36 +00:00
Stephen McLaughlin
cf2e7744f3
remove copyright header
...
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-03-23 09:15:57 +00:00
Steve-Mcl
ecf1847dd2
use CI flag to skip MQTT tests
2022-03-21 14:59:10 +00:00
Steve-Mcl
40a9dce869
try broker.emqx.io
2022-03-21 13:51:20 +00:00
Steve-Mcl
a6696733fa
tidy up code
2022-03-21 13:50:24 +00:00
Steve-Mcl
497d63e67e
Add unit tests for MQTT nodes
2022-03-19 17:29:31 +00:00
Steve-Mcl
31b3a4c342
Add UI for common headers/values
...
- Wrap HTML node script in IFFE (isolate module level vars & functions)
- Add UI elements for setting headers in http req node edit form
- Update built in help
- Add tests
2022-03-12 13:47:29 +00:00
Dave Conway-Jones
bda5dffa34
Add tests
2022-02-25 16:19:20 +00:00
Dave Conway-Jones
0398ef3b90
undo regression in tcp-in node (missed one)
...
and add test
2022-02-25 16:06:44 +00:00
Nick O'Leary
ee84eb666b
Merge pull request #3307 from node-red/add-tls-option-to-tcp-node
...
Add TLS option to tcp client nodes
2022-01-12 17:37:43 +00:00
Tobias Oort
555f155cad
Added support for commaseparated subprotocols
...
Removed placeholder from html
2022-01-12 09:10:35 +01:00
Tobias Oort
83203d5f5d
Fixed property name in unit-test
2022-01-10 22:23:45 +01:00
Tobias Oort
bd77d7eec3
Implemented support for Websocket Subprotocols in WS Client Node.
2022-01-08 22:18:05 +01:00
Dave Conway-Jones
c9f03f1ac5
better tests
...
(and a small fix as a result)
2021-12-27 09:51:50 +00:00
Dave Conway-Jones
02bd292b8c
fix and test
2021-12-26 16:12:47 +00:00
Nick O'Leary
21304a695c
Fix tcprequest deprecation warnings
2021-10-21 09:40:25 +01:00
Nick O'Leary
6364e00202
Merge pull request #3092 from hardillb/http-req-ca-fix
...
Copy tls.cert to tls.certificate for GOT
2021-07-28 10:05:19 +01:00
Ben Hardill
a76c6f86c6
Add Testcase & Fix typo
2021-07-28 08:52:35 +01:00
Nick O'Leary
f1775d4fd1
Handle partially encoded url query strings in request node
2021-07-26 14:21:52 +01:00
Ben Hardill
26087f8dc7
Fix support for supplied CA certs
2021-07-26 10:25:06 +01:00
Nick O'Leary
6e69cfbca4
Preserve case of user-provided http headers in request node
...
Fixes #3081
2021-07-23 09:55:32 +01:00
Nick O'Leary
36e83d628e
Add unit tests for HTTP Request encodeURI and error response
2021-07-23 00:10:17 +01:00
Ben Hardill
553bec1a1f
Add testcase
2021-06-11 14:34:16 +01:00
Ben Hardill
d5c5738aab
Fix proxy authentication problem & reinstate tests
...
Down to only 2 of the previous tests not working
2021-06-08 14:22:20 +01:00
Ben Hardill
090852b72b
Revet changes to /proxyAuthneticate
...
This end point is currently not hit
2021-06-08 12:06:18 +01:00
Ben Hardill
4e8c0573c4
Re-enable as many http-request proxy tests as possible
2021-06-08 11:46:54 +01:00
Ben Hardill
17a139f27f
Start to add HTTP-PROXY tests back in
2021-06-08 10:30:24 +01:00
Ben Hardill
bd1943626b
Add more comment
2021-06-07 16:00:07 +01:00
Ben Hardill
33f8c9747d
Comment out HTTP Proxy tests
...
These have been removed because the mock proxy doesn't
support using the HTTP CONNECT verb and the new Got based
http-request node only uses CONNET for proxied content
2021-06-07 13:00:02 +01:00
Nick O'Leary
e23f20227a
Initial migration from request to got for http-request node
2021-04-23 14:19:15 +01:00