Generated by TestNG with ReportNG at 21:39 PST on Tuesday 23 February 2021
root@87f6aca6b6f2 / 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.003s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.702s
2021-02-23 21:55:47 |

2021-02-23 21:55:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-23 21:55:47 | ------------------------------------

2021-02-23 21:55:47 | [Mutex] isItemNotified: node_m8r5480203:exists :: false

2021-02-23 21:55:47 | [Mutex] waiting for: [node_m8r5480203:create_node]

2021-02-23 21:55:47 | [Mutex] received everything.

2021-02-23 21:55:47 | [Mutex] isItemNotified: node_m8r5480203:create_node:success :: true

2021-02-23 21:55:47 | [Mutex] waiting for: [node_m8r5480203:subscribe_node]

2021-02-23 21:55:47 | [Mutex] waiting for: [node_m8r5480203:subscribe_node]

2021-02-23 21:55:47 | [Mutex] received everything.

2021-02-23 21:55:47 | [Mutex] isItemNotified: node_m8r5480203:subscribe_node:success :: true

2021-02-23 21:55:47 |


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


2021-02-23 21:55:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:55:47 | command: <data><node>node_m8r5480203</node><entry><content>content_357fqa0204</content></entry></data>

2021-02-23 21:55:47 | target: http://localhost:8088

2021-02-23 21:55:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-23 21:55:47 | entity: <data><node>node_m8r5480203</node><entry><content>content_357fqa0204</content></entry></data>

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

2021-02-23 21:55:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>37df32ac-280b-49c7-8a7c-9e88f7137568</value></item-id></result>

2021-02-23 21:55:47 | contains: true

2021-02-23 21:55:47 | [Mutex] received everything.

2021-02-23 21:55:47 | [Mutex] isItemNotified: user_regularbxivvh0202@test-domain.com:message:received:content_357fqa0204 :: true

2021-02-23 21:55:47 |


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


2021-02-23 21:55:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:55:47 | command: <data><node>node_m8r5480203</node><expire-at>2021-02-24T05:55:42Z</expire-at><entry><content>content_6qej960205</content></entry></data>

2021-02-23 21:55:47 | target: http://localhost:8088

2021-02-23 21:55:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-23 21:55:47 | entity: <data><node>node_m8r5480203</node><expire-at>2021-02-24T05:55:42Z</expire-at><entry><content>content_6qej960205</content></entry></data>

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

2021-02-23 21:55:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7898aaf6-be8f-4c5d-8981-f8093a8c5c90</value></item-id></result>

2021-02-23 21:55:47 | contains: true

2021-02-23 21:55:47 | [Mutex] waiting for: [user_regularbxivvh0202@test-domain.com:message:received:content_6qej960205]

2021-02-23 21:56:02 | [Mutex] timeout. Not received [user_regularbxivvh0202@test-domain.com:message:received:content_6qej960205]

2021-02-23 21:56:02 | [Mutex] isItemNotified: user_regularbxivvh0202@test-domain.com:message:received:content_6qej960205 :: false

2021-02-23 21:56:02 |


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


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

2021-02-23 21:56:02 | command: <data><node>node_m8r5480203</node><entry><content>content_asr0ha0206</content></entry></data>

2021-02-23 21:56:02 | target: http://localhost:8088

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

2021-02-23 21:56:02 | entity: <data><node>node_m8r5480203</node><entry><content>content_asr0ha0206</content></entry></data>

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

2021-02-23 21:56:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>524b9885-3ea6-458d-85b9-6cd6c1d0653e</value></item-id></result>

2021-02-23 21:56:02 | contains: true

2021-02-23 21:56:07 | [Mutex] waiting for: [user_regularbxivvh0202@test-domain.com:message:received:content_asr0ha0206]

2021-02-23 21:56:07 | [Mutex] received everything.

2021-02-23 21:56:07 | [Mutex] isItemNotified: user_regularbxivvh0202@test-domain.com:message:received:content_asr0ha0206 :: true

2021-02-23 21:56:07 |


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


2021-02-23 21:56:07 | [Mutex] received everything.

2021-02-23 21:56:07 | [Mutex] isItemNotified: node_m8r5480203:subscribe_node:success :: true

2021-02-23 21:56:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:56:07 | command: <data><node>node_m8r5480203</node><expire-at>2021-02-24T05:56:12Z</expire-at><entry><content>content_3hr5tv0207</content></entry></data>

2021-02-23 21:56:07 | target: http://localhost:8088

2021-02-23 21:56:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-23 21:56:07 | entity: <data><node>node_m8r5480203</node><expire-at>2021-02-24T05:56:12Z</expire-at><entry><content>content_3hr5tv0207</content></entry></data>

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

2021-02-23 21:56:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aa71caef-e84e-4125-91b6-528f0ffd677f</value></item-id></result>

2021-02-23 21:56:08 | contains: true

2021-02-23 21:56:16 | [Mutex] waiting for: [user_regularbxivvh0202@test-domain.com:message:received:content_3hr5tv0207]

2021-02-23 21:56:16 | [Mutex] waiting for: [user_regularbxivvh0202@test-domain.com:message:received:content_3hr5tv0207]

2021-02-23 21:56:16 | [Mutex] waiting for: [user_regularbxivvh0202@test-domain.com:message:received:content_3hr5tv0207]

2021-02-23 21:56:31 | [Mutex] timeout. Not received [user_regularbxivvh0202@test-domain.com:message:received:content_3hr5tv0207]

2021-02-23 21:56:31 | [Mutex] received everything.

2021-02-23 21:56:31 | [Mutex] isItemNotified: user_regularbxivvh0202@test-domain.com:message:received:content_3hr5tv0207 :: false

2021-02-23 21:56:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3hr5tv0207 :: true