Generated by TestNG with ReportNG at 22:00 PST on Thursday 17 February 2022
root@785cf647a4ab / 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.339s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.672s
2022-02-17 22:16:43 |

2022-02-17 22:16:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-17 22:16:43 | ------------------------------------

2022-02-17 22:16:43 | [Mutex] isItemNotified: node_hf0zao0203:exists :: false

2022-02-17 22:16:43 | [Mutex] waiting for: [node_hf0zao0203:create_node]

2022-02-17 22:16:43 | [Mutex] received everything.

2022-02-17 22:16:43 | [Mutex] isItemNotified: node_hf0zao0203:create_node:success :: true

2022-02-17 22:16:43 | [Mutex] waiting for: [node_hf0zao0203:subscribe_node]

2022-02-17 22:16:43 | [Mutex] waiting for: [node_hf0zao0203:subscribe_node]

2022-02-17 22:16:43 | [Mutex] received everything.

2022-02-17 22:16:43 | [Mutex] isItemNotified: node_hf0zao0203:subscribe_node:success :: true

2022-02-17 22:16:43 |


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


2022-02-17 22:16:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 22:16:43 | command: <data><node>node_hf0zao0203</node><entry><content>content_8c1xxx0204</content></entry></data>

2022-02-17 22:16:43 | target: http://localhost:8088

2022-02-17 22:16:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-17 22:16:43 | entity: <data><node>node_hf0zao0203</node><entry><content>content_8c1xxx0204</content></entry></data>

2022-02-17 22:16:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 06:16:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 22:16:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65deb0c5-3aa0-469f-bd11-dc94788ff21d</value></item-id></result>

2022-02-17 22:16:43 | contains: true

2022-02-17 22:16:43 | [Mutex] received everything.

2022-02-17 22:16:43 | [Mutex] isItemNotified: user_regular87rx050202@test-domain.com:message:received:content_8c1xxx0204 :: true

2022-02-17 22:16:43 |


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


2022-02-17 22:16:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 22:16:43 | command: <data><node>node_hf0zao0203</node><expire-at>2022-02-18T06:16:38Z</expire-at><entry><content>content_dcgnvd0205</content></entry></data>

2022-02-17 22:16:43 | target: http://localhost:8088

2022-02-17 22:16:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-17 22:16:43 | entity: <data><node>node_hf0zao0203</node><expire-at>2022-02-18T06:16:38Z</expire-at><entry><content>content_dcgnvd0205</content></entry></data>

2022-02-17 22:16:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 06:16:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 22:16:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>57291d0b-a20f-4f47-a7e4-6df50dd18fe8</value></item-id></result>

2022-02-17 22:16:43 | contains: true

2022-02-17 22:16:43 | [Mutex] waiting for: [user_regular87rx050202@test-domain.com:message:received:content_dcgnvd0205]

2022-02-17 22:16:58 | [Mutex] timeout. Not received [user_regular87rx050202@test-domain.com:message:received:content_dcgnvd0205]

2022-02-17 22:16:58 | [Mutex] isItemNotified: user_regular87rx050202@test-domain.com:message:received:content_dcgnvd0205 :: false

2022-02-17 22:16:58 |


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


2022-02-17 22:16:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 22:16:58 | command: <data><node>node_hf0zao0203</node><entry><content>content_2dm5eg0206</content></entry></data>

2022-02-17 22:16:58 | target: http://localhost:8088

2022-02-17 22:16:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-17 22:16:58 | entity: <data><node>node_hf0zao0203</node><entry><content>content_2dm5eg0206</content></entry></data>

2022-02-17 22:16:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 06:16:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 22:16:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ea121f61-7fd7-44f3-966c-78efc4e01ddc</value></item-id></result>

2022-02-17 22:16:58 | contains: true

2022-02-17 22:17:03 | [Mutex] waiting for: [user_regular87rx050202@test-domain.com:message:received:content_2dm5eg0206]

2022-02-17 22:17:03 | [Mutex] received everything.

2022-02-17 22:17:03 | [Mutex] isItemNotified: user_regular87rx050202@test-domain.com:message:received:content_2dm5eg0206 :: true

2022-02-17 22:17:03 |


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


2022-02-17 22:17:03 | [Mutex] received everything.

2022-02-17 22:17:03 | [Mutex] isItemNotified: node_hf0zao0203:subscribe_node:success :: true

2022-02-17 22:17:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 22:17:03 | command: <data><node>node_hf0zao0203</node><expire-at>2022-02-18T06:17:08Z</expire-at><entry><content>content_inwsxe0207</content></entry></data>

2022-02-17 22:17:03 | target: http://localhost:8088

2022-02-17 22:17:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-17 22:17:03 | entity: <data><node>node_hf0zao0203</node><expire-at>2022-02-18T06:17:08Z</expire-at><entry><content>content_inwsxe0207</content></entry></data>

2022-02-17 22:17:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 06:17:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 22:17:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc2480cf-c416-4510-af9b-162cfce458c3</value></item-id></result>

2022-02-17 22:17:03 | contains: true

2022-02-17 22:17:12 | [Mutex] waiting for: [user_regular87rx050202@test-domain.com:message:received:content_inwsxe0207]

2022-02-17 22:17:27 | [Mutex] timeout. Not received [user_regular87rx050202@test-domain.com:message:received:content_inwsxe0207]

2022-02-17 22:17:27 | [Mutex] received everything.

2022-02-17 22:17:27 | [Mutex] isItemNotified: user_regular87rx050202@test-domain.com:message:received:content_inwsxe0207 :: false

2022-02-17 22:17:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_inwsxe0207 :: true