Generated by TestNG with ReportNG at 21:29 PST on Tuesday 16 November 2021
root@b2c2a8eba6e6 / 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.115s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.749s
2021-11-16 21:45:40 |

2021-11-16 21:45:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-11-16 21:45:40 | ------------------------------------

2021-11-16 21:45:40 | [Mutex] isItemNotified: node_d98yde0203:exists :: false

2021-11-16 21:45:40 | [Mutex] waiting for: [node_d98yde0203:create_node]

2021-11-16 21:45:40 | [Mutex] received everything.

2021-11-16 21:45:40 | [Mutex] isItemNotified: node_d98yde0203:create_node:success :: true

2021-11-16 21:45:40 | [Mutex] waiting for: [node_d98yde0203:subscribe_node]

2021-11-16 21:45:40 | [Mutex] waiting for: [node_d98yde0203:subscribe_node]

2021-11-16 21:45:40 | [Mutex] received everything.

2021-11-16 21:45:40 | [Mutex] isItemNotified: node_d98yde0203:subscribe_node:success :: true

2021-11-16 21:45:40 |


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


2021-11-16 21:45:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-16 21:45:40 | command: <data><node>node_d98yde0203</node><entry><content>content_p9pyjo0204</content></entry></data>

2021-11-16 21:45:40 | target: http://localhost:8088

2021-11-16 21:45:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-11-16 21:45:40 | entity: <data><node>node_d98yde0203</node><entry><content>content_p9pyjo0204</content></entry></data>

2021-11-16 21:45:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:45:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-16 21:45:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af19a9d8-28d0-45c1-83da-b0f803d820f4</value></item-id></result>

2021-11-16 21:45:40 | contains: true

2021-11-16 21:45:40 | [Mutex] received everything.

2021-11-16 21:45:40 | [Mutex] isItemNotified: user_regularhh47lf0202@test-domain.com:message:received:content_p9pyjo0204 :: true

2021-11-16 21:45:40 |


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


2021-11-16 21:45:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-16 21:45:40 | command: <data><node>node_d98yde0203</node><expire-at>2021-11-17T05:45:35Z</expire-at><entry><content>content_6x484h0205</content></entry></data>

2021-11-16 21:45:40 | target: http://localhost:8088

2021-11-16 21:45:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-11-16 21:45:40 | entity: <data><node>node_d98yde0203</node><expire-at>2021-11-17T05:45:35Z</expire-at><entry><content>content_6x484h0205</content></entry></data>

2021-11-16 21:45:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:45:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-16 21:45:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5163e795-3def-410d-a103-e53c12047e0d</value></item-id></result>

2021-11-16 21:45:40 | contains: true

2021-11-16 21:45:40 | [Mutex] waiting for: [user_regularhh47lf0202@test-domain.com:message:received:content_6x484h0205]

2021-11-16 21:45:55 | [Mutex] timeout. Not received [user_regularhh47lf0202@test-domain.com:message:received:content_6x484h0205]

2021-11-16 21:45:55 | [Mutex] isItemNotified: user_regularhh47lf0202@test-domain.com:message:received:content_6x484h0205 :: false

2021-11-16 21:45:55 |


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


2021-11-16 21:45:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-16 21:45:55 | command: <data><node>node_d98yde0203</node><entry><content>content_c2wgwf0206</content></entry></data>

2021-11-16 21:45:55 | target: http://localhost:8088

2021-11-16 21:45:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-11-16 21:45:55 | entity: <data><node>node_d98yde0203</node><entry><content>content_c2wgwf0206</content></entry></data>

2021-11-16 21:45:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:45:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-16 21:45:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6ea5a758-3e77-4872-84df-33a7aeec18a4</value></item-id></result>

2021-11-16 21:45:56 | contains: true

2021-11-16 21:46:01 | [Mutex] waiting for: [user_regularhh47lf0202@test-domain.com:message:received:content_c2wgwf0206]

2021-11-16 21:46:01 | [Mutex] waiting for: [user_regularhh47lf0202@test-domain.com:message:received:content_c2wgwf0206]

2021-11-16 21:46:01 | [Mutex] received everything.

2021-11-16 21:46:01 | [Mutex] isItemNotified: user_regularhh47lf0202@test-domain.com:message:received:content_c2wgwf0206 :: true

2021-11-16 21:46:01 |


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


2021-11-16 21:46:01 | [Mutex] received everything.

2021-11-16 21:46:01 | [Mutex] isItemNotified: node_d98yde0203:subscribe_node:success :: true

2021-11-16 21:46:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-16 21:46:01 | command: <data><node>node_d98yde0203</node><expire-at>2021-11-17T05:46:06Z</expire-at><entry><content>content_1zqc1h0207</content></entry></data>

2021-11-16 21:46:01 | target: http://localhost:8088

2021-11-16 21:46:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-11-16 21:46:01 | entity: <data><node>node_d98yde0203</node><expire-at>2021-11-17T05:46:06Z</expire-at><entry><content>content_1zqc1h0207</content></entry></data>

2021-11-16 21:46:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:46:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-16 21:46:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4b7f6bea-3e2b-457a-8bde-1df17a68ecaf</value></item-id></result>

2021-11-16 21:46:01 | contains: true

2021-11-16 21:46:09 | [Mutex] waiting for: [user_regularhh47lf0202@test-domain.com:message:received:content_1zqc1h0207]

2021-11-16 21:46:09 | [Mutex] waiting for: [user_regularhh47lf0202@test-domain.com:message:received:content_1zqc1h0207]

2021-11-16 21:46:24 | [Mutex] timeout. Not received [user_regularhh47lf0202@test-domain.com:message:received:content_1zqc1h0207]

2021-11-16 21:46:24 | [Mutex] received everything.

2021-11-16 21:46:24 | [Mutex] isItemNotified: user_regularhh47lf0202@test-domain.com:message:received:content_1zqc1h0207 :: false

2021-11-16 21:46:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1zqc1h0207 :: true