Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 17 March 2021
root@43fec6d4badf / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.621s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.640s
2021-03-17 22:29:05 |

2021-03-17 22:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-17 22:29:05 | ------------------------------------

2021-03-17 22:29:05 | [Mutex] isItemNotified: node_y6scgq0203:exists :: false

2021-03-17 22:29:05 | [Mutex] waiting for: [node_y6scgq0203:create_node]

2021-03-17 22:29:05 | [Mutex] received everything.

2021-03-17 22:29:05 | [Mutex] isItemNotified: node_y6scgq0203:create_node:success :: true

2021-03-17 22:29:05 | [Mutex] waiting for: [node_y6scgq0203:subscribe_node]

2021-03-17 22:29:05 | [Mutex] waiting for: [node_y6scgq0203:subscribe_node]

2021-03-17 22:29:05 | [Mutex] received everything.

2021-03-17 22:29:05 | [Mutex] isItemNotified: node_y6scgq0203:subscribe_node:success :: true

2021-03-17 22:29:05 |


===== publishing normal message (to online)


2021-03-17 22:29:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-17 22:29:05 | command: <data><node>node_y6scgq0203</node><entry><content>content_w4l2yn0204</content></entry></data>

2021-03-17 22:29:05 | target: http://localhost:8088

2021-03-17 22:29:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-17 22:29:05 | entity: <data><node>node_y6scgq0203</node><entry><content>content_w4l2yn0204</content></entry></data>

2021-03-17 22:29:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:29:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-17 22:29:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ad4730a4-f4d9-4449-a83c-8ae5823147d7</value></item-id></result>

2021-03-17 22:29:05 | contains: true

2021-03-17 22:29:05 | [Mutex] waiting for: [user_regular8q3iq50202@test-domain.com:message:received:content_w4l2yn0204]

2021-03-17 22:29:05 | [Mutex] received everything.

2021-03-17 22:29:05 | [Mutex] isItemNotified: user_regular8q3iq50202@test-domain.com:message:received:content_w4l2yn0204 :: true

2021-03-17 22:29:05 |


===== publishing already old message - expecting message being filtered out (to online)


2021-03-17 22:29:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-17 22:29:05 | command: <data><node>node_y6scgq0203</node><expire-at>2021-03-18T05:29:00Z</expire-at><entry><content>content_7s96pu0205</content></entry></data>

2021-03-17 22:29:05 | target: http://localhost:8088

2021-03-17 22:29:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-17 22:29:05 | entity: <data><node>node_y6scgq0203</node><expire-at>2021-03-18T05:29:00Z</expire-at><entry><content>content_7s96pu0205</content></entry></data>

2021-03-17 22:29:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:29:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-17 22:29:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>62e506ff-27b0-4fe6-b462-e4228f929c68</value></item-id></result>

2021-03-17 22:29:05 | contains: true

2021-03-17 22:29:05 | [Mutex] waiting for: [user_regular8q3iq50202@test-domain.com:message:received:content_7s96pu0205]

2021-03-17 22:29:20 | [Mutex] timeout. Not received [user_regular8q3iq50202@test-domain.com:message:received:content_7s96pu0205]

2021-03-17 22:29:20 | [Mutex] isItemNotified: user_regular8q3iq50202@test-domain.com:message:received:content_7s96pu0205 :: false

2021-03-17 22:29:20 |


===== publishing normal message (to offline)


2021-03-17 22:29:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-17 22:29:20 | command: <data><node>node_y6scgq0203</node><entry><content>content_8z3lmz0206</content></entry></data>

2021-03-17 22:29:20 | target: http://localhost:8088

2021-03-17 22:29:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-17 22:29:20 | entity: <data><node>node_y6scgq0203</node><entry><content>content_8z3lmz0206</content></entry></data>

2021-03-17 22:29:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:29:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-17 22:29:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7cc74ae2-469e-402d-a25c-d7fc3b3bf23d</value></item-id></result>

2021-03-17 22:29:20 | contains: true

2021-03-17 22:29:26 | [Mutex] waiting for: [user_regular8q3iq50202@test-domain.com:message:received:content_8z3lmz0206]

2021-03-17 22:29:26 | [Mutex] received everything.

2021-03-17 22:29:26 | [Mutex] isItemNotified: user_regular8q3iq50202@test-domain.com:message:received:content_8z3lmz0206 :: true

2021-03-17 22:29:26 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-03-17 22:29:26 | [Mutex] received everything.

2021-03-17 22:29:26 | [Mutex] isItemNotified: node_y6scgq0203:subscribe_node:success :: true

2021-03-17 22:29:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-17 22:29:26 | command: <data><node>node_y6scgq0203</node><expire-at>2021-03-18T05:29:31Z</expire-at><entry><content>content_o801bu0207</content></entry></data>

2021-03-17 22:29:26 | target: http://localhost:8088

2021-03-17 22:29:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-17 22:29:26 | entity: <data><node>node_y6scgq0203</node><expire-at>2021-03-18T05:29:31Z</expire-at><entry><content>content_o801bu0207</content></entry></data>

2021-03-17 22:29:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:29:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-17 22:29:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4ebff20d-1e8e-4ef4-9bfe-2a6091dfc16d</value></item-id></result>

2021-03-17 22:29:26 | contains: true

2021-03-17 22:29:34 | [Mutex] waiting for: [user_regular8q3iq50202@test-domain.com:message:received:content_o801bu0207]

2021-03-17 22:29:34 | [Mutex] waiting for: [user_regular8q3iq50202@test-domain.com:message:received:content_o801bu0207]

2021-03-17 22:29:34 | [Mutex] waiting for: [user_regular8q3iq50202@test-domain.com:message:received:content_o801bu0207]

2021-03-17 22:29:49 | [Mutex] timeout. Not received [user_regular8q3iq50202@test-domain.com:message:received:content_o801bu0207]

2021-03-17 22:29:49 | [Mutex] received everything.

2021-03-17 22:29:49 | [Mutex] isItemNotified: user_regular8q3iq50202@test-domain.com:message:received:content_o801bu0207 :: false

2021-03-17 22:29:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o801bu0207 :: true