Generated by TestNG with ReportNG at 05:54 PDT on Friday 23 September 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.849s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.596s
2022-09-23 06:08:53 |

2022-09-23 06:08:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-23 06:08:53 | ------------------------------------

2022-09-23 06:08:53 | [Mutex] isItemNotified: node_pf091w0204:exists :: false

2022-09-23 06:08:53 | [Mutex] waiting for: [node_pf091w0204:create_node]

2022-09-23 06:08:53 | [Mutex] waiting for: [node_pf091w0204:create_node]

2022-09-23 06:08:53 | [Mutex] received everything.

2022-09-23 06:08:53 | [Mutex] isItemNotified: node_pf091w0204:create_node:success :: true

2022-09-23 06:08:53 | [Mutex] waiting for: [node_pf091w0204:subscribe_node]

2022-09-23 06:08:53 | [Mutex] received everything.

2022-09-23 06:08:53 | [Mutex] isItemNotified: node_pf091w0204:subscribe_node:success :: true

2022-09-23 06:08:53 |


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


2022-09-23 06:08:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-23 06:08:53 | command: <data><node>node_pf091w0204</node><entry><content>content_p1vknm0205</content></entry></data>

2022-09-23 06:08:53 | target: http://localhost:8088

2022-09-23 06:08:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-23 06:08:53 | entity: <data><node>node_pf091w0204</node><entry><content>content_p1vknm0205</content></entry></data>

2022-09-23 06:08:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:08:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-23 06:08:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d9dc4f85-56ae-462c-a579-6c465e8f1771</value></item-id></result>

2022-09-23 06:08:53 | contains: true

2022-09-23 06:08:53 | [Mutex] received everything.

2022-09-23 06:08:53 | [Mutex] isItemNotified: user_regularp1wewi0203@test-domain.com:message:received:content_p1vknm0205 :: true

2022-09-23 06:08:53 |


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


2022-09-23 06:08:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-23 06:08:53 | command: <data><node>node_pf091w0204</node><expire-at>2022-09-23T13:08:48Z</expire-at><entry><content>content_ji03q50206</content></entry></data>

2022-09-23 06:08:53 | target: http://localhost:8088

2022-09-23 06:08:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-23 06:08:53 | entity: <data><node>node_pf091w0204</node><expire-at>2022-09-23T13:08:48Z</expire-at><entry><content>content_ji03q50206</content></entry></data>

2022-09-23 06:08:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:08:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-23 06:08:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c031eb05-f265-4314-b524-342ab5a2bbed</value></item-id></result>

2022-09-23 06:08:53 | contains: true

2022-09-23 06:08:53 | [Mutex] waiting for: [user_regularp1wewi0203@test-domain.com:message:received:content_ji03q50206]

2022-09-23 06:09:08 | [Mutex] timeout. Not received [user_regularp1wewi0203@test-domain.com:message:received:content_ji03q50206]

2022-09-23 06:09:08 | [Mutex] isItemNotified: user_regularp1wewi0203@test-domain.com:message:received:content_ji03q50206 :: false

2022-09-23 06:09:08 |


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


2022-09-23 06:09:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-23 06:09:08 | command: <data><node>node_pf091w0204</node><entry><content>content_pov3590207</content></entry></data>

2022-09-23 06:09:08 | target: http://localhost:8088

2022-09-23 06:09:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-23 06:09:08 | entity: <data><node>node_pf091w0204</node><entry><content>content_pov3590207</content></entry></data>

2022-09-23 06:09:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:09:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-23 06:09:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4979d7c0-e333-46f9-b918-a05a644d235a</value></item-id></result>

2022-09-23 06:09:08 | contains: true

2022-09-23 06:09:13 | [Mutex] waiting for: [user_regularp1wewi0203@test-domain.com:message:received:content_pov3590207]

2022-09-23 06:09:13 | [Mutex] waiting for: [user_regularp1wewi0203@test-domain.com:message:received:content_pov3590207]

2022-09-23 06:09:13 | [Mutex] received everything.

2022-09-23 06:09:13 | [Mutex] isItemNotified: user_regularp1wewi0203@test-domain.com:message:received:content_pov3590207 :: true

2022-09-23 06:09:13 |


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


2022-09-23 06:09:13 | [Mutex] received everything.

2022-09-23 06:09:13 | [Mutex] isItemNotified: node_pf091w0204:subscribe_node:success :: true

2022-09-23 06:09:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-23 06:09:13 | command: <data><node>node_pf091w0204</node><expire-at>2022-09-23T13:09:18Z</expire-at><entry><content>content_yjbn7q0208</content></entry></data>

2022-09-23 06:09:13 | target: http://localhost:8088

2022-09-23 06:09:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-23 06:09:13 | entity: <data><node>node_pf091w0204</node><expire-at>2022-09-23T13:09:18Z</expire-at><entry><content>content_yjbn7q0208</content></entry></data>

2022-09-23 06:09:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:09:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-23 06:09:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>53148c21-cf14-4754-9127-5c65b67e1e23</value></item-id></result>

2022-09-23 06:09:13 | contains: true

2022-09-23 06:09:21 | [Mutex] waiting for: [user_regularp1wewi0203@test-domain.com:message:received:content_yjbn7q0208]

2022-09-23 06:09:21 | [Mutex] waiting for: [user_regularp1wewi0203@test-domain.com:message:received:content_yjbn7q0208]

2022-09-23 06:09:21 | [Mutex] waiting for: [user_regularp1wewi0203@test-domain.com:message:received:content_yjbn7q0208]

2022-09-23 06:09:36 | [Mutex] timeout. Not received [user_regularp1wewi0203@test-domain.com:message:received:content_yjbn7q0208]

2022-09-23 06:09:36 | [Mutex] received everything.

2022-09-23 06:09:36 | [Mutex] isItemNotified: user_regularp1wewi0203@test-domain.com:message:received:content_yjbn7q0208 :: false

2022-09-23 06:09:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yjbn7q0208 :: true