Generated by TestNG with ReportNG at 08:10 PST on Wednesday 16 February 2022
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.660s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.646s
2022-02-16 08:25:25 |

2022-02-16 08:25:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-16 08:25:25 | ------------------------------------

2022-02-16 08:25:25 | [Mutex] isItemNotified: node_e99yk0203:exists :: false

2022-02-16 08:25:25 | [Mutex] waiting for: [node_e99yk0203:create_node]

2022-02-16 08:25:25 | [Mutex] received everything.

2022-02-16 08:25:25 | [Mutex] isItemNotified: node_e99yk0203:create_node:success :: true

2022-02-16 08:25:25 | [Mutex] waiting for: [node_e99yk0203:subscribe_node]

2022-02-16 08:25:25 | [Mutex] waiting for: [node_e99yk0203:subscribe_node]

2022-02-16 08:25:25 | [Mutex] received everything.

2022-02-16 08:25:25 | [Mutex] isItemNotified: node_e99yk0203:subscribe_node:success :: true

2022-02-16 08:25:25 |


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


2022-02-16 08:25:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 08:25:25 | command: <data><node>node_e99yk0203</node><entry><content>content_b2m6a70204</content></entry></data>

2022-02-16 08:25:25 | target: http://localhost:8088

2022-02-16 08:25:25 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-02-16 08:25:25 | entity: <data><node>node_e99yk0203</node><entry><content>content_b2m6a70204</content></entry></data>

2022-02-16 08:25:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 16:25:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 08:25:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>91c0d301-461e-4058-87cb-40c842967532</value></item-id></result>

2022-02-16 08:25:25 | contains: true

2022-02-16 08:25:25 | [Mutex] received everything.

2022-02-16 08:25:25 | [Mutex] isItemNotified: user_regularvpq6x70202@test-domain.com:message:received:content_b2m6a70204 :: true

2022-02-16 08:25:25 |


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


2022-02-16 08:25:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 08:25:25 | command: <data><node>node_e99yk0203</node><expire-at>2022-02-16T16:25:20Z</expire-at><entry><content>content_dbwrgg0205</content></entry></data>

2022-02-16 08:25:25 | target: http://localhost:8088

2022-02-16 08:25:25 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-02-16 08:25:25 | entity: <data><node>node_e99yk0203</node><expire-at>2022-02-16T16:25:20Z</expire-at><entry><content>content_dbwrgg0205</content></entry></data>

2022-02-16 08:25:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 16:25:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 08:25:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e33eb22f-e3d1-4450-8f27-dd16c114721a</value></item-id></result>

2022-02-16 08:25:26 | contains: true

2022-02-16 08:25:26 | [Mutex] waiting for: [user_regularvpq6x70202@test-domain.com:message:received:content_dbwrgg0205]

2022-02-16 08:25:41 | [Mutex] timeout. Not received [user_regularvpq6x70202@test-domain.com:message:received:content_dbwrgg0205]

2022-02-16 08:25:41 | [Mutex] isItemNotified: user_regularvpq6x70202@test-domain.com:message:received:content_dbwrgg0205 :: false

2022-02-16 08:25:41 |


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


2022-02-16 08:25:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 08:25:41 | command: <data><node>node_e99yk0203</node><entry><content>content_ryrny90206</content></entry></data>

2022-02-16 08:25:41 | target: http://localhost:8088

2022-02-16 08:25:41 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-02-16 08:25:41 | entity: <data><node>node_e99yk0203</node><entry><content>content_ryrny90206</content></entry></data>

2022-02-16 08:25:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 16:25:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 08:25:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>235f9b06-f25a-47f7-8723-a7144b400fd0</value></item-id></result>

2022-02-16 08:25:41 | contains: true

2022-02-16 08:25:46 | [Mutex] waiting for: [user_regularvpq6x70202@test-domain.com:message:received:content_ryrny90206]

2022-02-16 08:25:46 | [Mutex] waiting for: [user_regularvpq6x70202@test-domain.com:message:received:content_ryrny90206]

2022-02-16 08:25:46 | [Mutex] received everything.

2022-02-16 08:25:46 | [Mutex] isItemNotified: user_regularvpq6x70202@test-domain.com:message:received:content_ryrny90206 :: true

2022-02-16 08:25:46 |


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


2022-02-16 08:25:46 | [Mutex] received everything.

2022-02-16 08:25:46 | [Mutex] isItemNotified: node_e99yk0203:subscribe_node:success :: true

2022-02-16 08:25:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 08:25:46 | command: <data><node>node_e99yk0203</node><expire-at>2022-02-16T16:25:51Z</expire-at><entry><content>content_rtyda60207</content></entry></data>

2022-02-16 08:25:46 | target: http://localhost:8088

2022-02-16 08:25:46 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-02-16 08:25:46 | entity: <data><node>node_e99yk0203</node><expire-at>2022-02-16T16:25:51Z</expire-at><entry><content>content_rtyda60207</content></entry></data>

2022-02-16 08:25:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 16:25:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 08:25:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2571e641-58d8-4a94-b535-b206f4be10cd</value></item-id></result>

2022-02-16 08:25:46 | contains: true

2022-02-16 08:25:54 | [Mutex] waiting for: [user_regularvpq6x70202@test-domain.com:message:received:content_rtyda60207]

2022-02-16 08:26:09 | [Mutex] timeout. Not received [user_regularvpq6x70202@test-domain.com:message:received:content_rtyda60207]

2022-02-16 08:26:09 | [Mutex] received everything.

2022-02-16 08:26:09 | [Mutex] isItemNotified: user_regularvpq6x70202@test-domain.com:message:received:content_rtyda60207 :: false

2022-02-16 08:26:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rtyda60207 :: true