Generated by TestNG with ReportNG at 21:46 PST on Wednesday 23 February 2022
root@f29ef40080b5 / 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.522s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.691s
2022-02-23 22:01:52 |

2022-02-23 22:01:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-23 22:01:52 | ------------------------------------

2022-02-23 22:01:52 | [Mutex] isItemNotified: node_1pn6fu0203:exists :: false

2022-02-23 22:01:52 | [Mutex] waiting for: [node_1pn6fu0203:create_node]

2022-02-23 22:01:52 | [Mutex] received everything.

2022-02-23 22:01:52 | [Mutex] isItemNotified: node_1pn6fu0203:create_node:success :: true

2022-02-23 22:01:52 | [Mutex] waiting for: [node_1pn6fu0203:subscribe_node]

2022-02-23 22:01:52 | [Mutex] waiting for: [node_1pn6fu0203:subscribe_node]

2022-02-23 22:01:52 | [Mutex] received everything.

2022-02-23 22:01:52 | [Mutex] isItemNotified: node_1pn6fu0203:subscribe_node:success :: true

2022-02-23 22:01:52 |


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


2022-02-23 22:01:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 22:01:52 | command: <data><node>node_1pn6fu0203</node><entry><content>content_z5gfht0204</content></entry></data>

2022-02-23 22:01:52 | target: http://localhost:8088

2022-02-23 22:01:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-23 22:01:52 | entity: <data><node>node_1pn6fu0203</node><entry><content>content_z5gfht0204</content></entry></data>

2022-02-23 22:01:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:01:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 22:01:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1e66cb38-e831-441c-b487-e3a31cea5397</value></item-id></result>

2022-02-23 22:01:52 | contains: true

2022-02-23 22:01:52 | [Mutex] waiting for: [user_regularwqnax0202@test-domain.com:message:received:content_z5gfht0204]

2022-02-23 22:01:52 | [Mutex] received everything.

2022-02-23 22:01:52 | [Mutex] isItemNotified: user_regularwqnax0202@test-domain.com:message:received:content_z5gfht0204 :: true

2022-02-23 22:01:52 |


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


2022-02-23 22:01:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 22:01:52 | command: <data><node>node_1pn6fu0203</node><expire-at>2022-02-24T06:01:47Z</expire-at><entry><content>content_a77rlc0205</content></entry></data>

2022-02-23 22:01:52 | target: http://localhost:8088

2022-02-23 22:01:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-23 22:01:52 | entity: <data><node>node_1pn6fu0203</node><expire-at>2022-02-24T06:01:47Z</expire-at><entry><content>content_a77rlc0205</content></entry></data>

2022-02-23 22:01:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:01:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 22:01:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>17604d81-2590-49d1-8715-0fd46e8a85b2</value></item-id></result>

2022-02-23 22:01:52 | contains: true

2022-02-23 22:01:52 | [Mutex] waiting for: [user_regularwqnax0202@test-domain.com:message:received:content_a77rlc0205]

2022-02-23 22:02:07 | [Mutex] timeout. Not received [user_regularwqnax0202@test-domain.com:message:received:content_a77rlc0205]

2022-02-23 22:02:07 | [Mutex] isItemNotified: user_regularwqnax0202@test-domain.com:message:received:content_a77rlc0205 :: false

2022-02-23 22:02:07 |


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


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

2022-02-23 22:02:07 | command: <data><node>node_1pn6fu0203</node><entry><content>content_yeohca0206</content></entry></data>

2022-02-23 22:02:07 | target: http://localhost:8088

2022-02-23 22:02:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-23 22:02:07 | entity: <data><node>node_1pn6fu0203</node><entry><content>content_yeohca0206</content></entry></data>

2022-02-23 22:02:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:02:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 22:02:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1c994768-b1b3-4947-8815-25a855227f03</value></item-id></result>

2022-02-23 22:02:07 | contains: true

2022-02-23 22:02:12 | [Mutex] waiting for: [user_regularwqnax0202@test-domain.com:message:received:content_yeohca0206]

2022-02-23 22:02:12 | [Mutex] received everything.

2022-02-23 22:02:12 | [Mutex] isItemNotified: user_regularwqnax0202@test-domain.com:message:received:content_yeohca0206 :: true

2022-02-23 22:02:12 |


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


2022-02-23 22:02:12 | [Mutex] received everything.

2022-02-23 22:02:12 | [Mutex] isItemNotified: node_1pn6fu0203:subscribe_node:success :: true

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

2022-02-23 22:02:12 | command: <data><node>node_1pn6fu0203</node><expire-at>2022-02-24T06:02:17Z</expire-at><entry><content>content_koh27b0207</content></entry></data>

2022-02-23 22:02:12 | target: http://localhost:8088

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

2022-02-23 22:02:12 | entity: <data><node>node_1pn6fu0203</node><expire-at>2022-02-24T06:02:17Z</expire-at><entry><content>content_koh27b0207</content></entry></data>

2022-02-23 22:02:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:02:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 22:02:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f9a81802-8d04-430e-9462-4f0596fa0013</value></item-id></result>

2022-02-23 22:02:12 | contains: true

2022-02-23 22:02:20 | [Mutex] waiting for: [user_regularwqnax0202@test-domain.com:message:received:content_koh27b0207]

2022-02-23 22:02:20 | [Mutex] waiting for: [user_regularwqnax0202@test-domain.com:message:received:content_koh27b0207]

2022-02-23 22:02:35 | [Mutex] timeout. Not received [user_regularwqnax0202@test-domain.com:message:received:content_koh27b0207]

2022-02-23 22:02:35 | [Mutex] received everything.

2022-02-23 22:02:35 | [Mutex] isItemNotified: user_regularwqnax0202@test-domain.com:message:received:content_koh27b0207 :: false

2022-02-23 22:02:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_koh27b0207 :: true