Generated by TestNG with ReportNG at 21:40 PST on Tuesday 02 February 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.533s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.816s
2021-02-02 21:57:46 |

2021-02-02 21:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-02 21:57:46 | ------------------------------------

2021-02-02 21:57:46 | [Mutex] isItemNotified: node_6m17o70203:exists :: false

2021-02-02 21:57:46 | [Mutex] waiting for: [node_6m17o70203:create_node]

2021-02-02 21:57:46 | [Mutex] received everything.

2021-02-02 21:57:46 | [Mutex] isItemNotified: node_6m17o70203:create_node:success :: true

2021-02-02 21:57:46 | [Mutex] waiting for: [node_6m17o70203:subscribe_node]

2021-02-02 21:57:46 | [Mutex] received everything.

2021-02-02 21:57:46 | [Mutex] isItemNotified: node_6m17o70203:subscribe_node:success :: true

2021-02-02 21:57:46 |


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


2021-02-02 21:57:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:57:46 | command: <data><node>node_6m17o70203</node><entry><content>content_psera10204</content></entry></data>

2021-02-02 21:57:46 | target: http://localhost:8088

2021-02-02 21:57:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-02 21:57:46 | entity: <data><node>node_6m17o70203</node><entry><content>content_psera10204</content></entry></data>

2021-02-02 21:57:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:57:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:57:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bb215d45-eda2-42c9-8fb7-4f3baf230fba</value></item-id></result>

2021-02-02 21:57:46 | contains: true

2021-02-02 21:57:46 | [Mutex] waiting for: [user_regularjay9370202@test-domain.com:message:received:content_psera10204]

2021-02-02 21:57:46 | [Mutex] received everything.

2021-02-02 21:57:46 | [Mutex] isItemNotified: user_regularjay9370202@test-domain.com:message:received:content_psera10204 :: true

2021-02-02 21:57:46 |


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


2021-02-02 21:57:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:57:46 | command: <data><node>node_6m17o70203</node><expire-at>2021-02-03T05:57:41Z</expire-at><entry><content>content_9unuqi0205</content></entry></data>

2021-02-02 21:57:46 | target: http://localhost:8088

2021-02-02 21:57:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 21:57:46 | entity: <data><node>node_6m17o70203</node><expire-at>2021-02-03T05:57:41Z</expire-at><entry><content>content_9unuqi0205</content></entry></data>

2021-02-02 21:57:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:57:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:57:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a03cd73e-c358-4122-b1ba-09ae3d9da36b</value></item-id></result>

2021-02-02 21:57:46 | contains: true

2021-02-02 21:57:46 | [Mutex] waiting for: [user_regularjay9370202@test-domain.com:message:received:content_9unuqi0205]

2021-02-02 21:58:01 | [Mutex] timeout. Not received [user_regularjay9370202@test-domain.com:message:received:content_9unuqi0205]

2021-02-02 21:58:01 | [Mutex] isItemNotified: user_regularjay9370202@test-domain.com:message:received:content_9unuqi0205 :: false

2021-02-02 21:58:01 |


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


2021-02-02 21:58:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:58:01 | command: <data><node>node_6m17o70203</node><entry><content>content_c1a2t10206</content></entry></data>

2021-02-02 21:58:01 | target: http://localhost:8088

2021-02-02 21:58:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-02 21:58:01 | entity: <data><node>node_6m17o70203</node><entry><content>content_c1a2t10206</content></entry></data>

2021-02-02 21:58:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:58:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:58:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>67f0eaaf-e971-45b0-95bf-3f1f8283969b</value></item-id></result>

2021-02-02 21:58:01 | contains: true

2021-02-02 21:58:06 | [Mutex] waiting for: [user_regularjay9370202@test-domain.com:message:received:content_c1a2t10206]

2021-02-02 21:58:06 | [Mutex] received everything.

2021-02-02 21:58:06 | [Mutex] isItemNotified: user_regularjay9370202@test-domain.com:message:received:content_c1a2t10206 :: true

2021-02-02 21:58:06 |


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


2021-02-02 21:58:06 | [Mutex] received everything.

2021-02-02 21:58:06 | [Mutex] isItemNotified: node_6m17o70203:subscribe_node:success :: true

2021-02-02 21:58:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:58:06 | command: <data><node>node_6m17o70203</node><expire-at>2021-02-03T05:58:11Z</expire-at><entry><content>content_o2hrwn0207</content></entry></data>

2021-02-02 21:58:06 | target: http://localhost:8088

2021-02-02 21:58:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 21:58:06 | entity: <data><node>node_6m17o70203</node><expire-at>2021-02-03T05:58:11Z</expire-at><entry><content>content_o2hrwn0207</content></entry></data>

2021-02-02 21:58:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:58:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:58:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c3b5ae7-6cfe-4508-911f-ea4a99551322</value></item-id></result>

2021-02-02 21:58:06 | contains: true

2021-02-02 21:58:15 | [Mutex] waiting for: [user_regularjay9370202@test-domain.com:message:received:content_o2hrwn0207]

2021-02-02 21:58:15 | [Mutex] waiting for: [user_regularjay9370202@test-domain.com:message:received:content_o2hrwn0207]

2021-02-02 21:58:30 | [Mutex] timeout. Not received [user_regularjay9370202@test-domain.com:message:received:content_o2hrwn0207]

2021-02-02 21:58:30 | [Mutex] received everything.

2021-02-02 21:58:30 | [Mutex] isItemNotified: user_regularjay9370202@test-domain.com:message:received:content_o2hrwn0207 :: false

2021-02-02 21:58:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o2hrwn0207 :: true