Generated by TestNG with ReportNG at 22:56 PDT on Wednesday 07 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.578s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.572s
2022-09-07 23:11:13 |

2022-09-07 23:11:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-07 23:11:13 | ------------------------------------

2022-09-07 23:11:13 | [Mutex] isItemNotified: node_3n4brl0204:exists :: false

2022-09-07 23:11:13 | [Mutex] waiting for: [node_3n4brl0204:create_node]

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

2022-09-07 23:11:13 | [Mutex] isItemNotified: node_3n4brl0204:create_node:success :: true

2022-09-07 23:11:13 | [Mutex] waiting for: [node_3n4brl0204:subscribe_node]

2022-09-07 23:11:13 | [Mutex] waiting for: [node_3n4brl0204:subscribe_node]

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

2022-09-07 23:11:13 | [Mutex] isItemNotified: node_3n4brl0204:subscribe_node:success :: true

2022-09-07 23:11:13 |


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


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

2022-09-07 23:11:13 | command: <data><node>node_3n4brl0204</node><entry><content>content_qyayij0205</content></entry></data>

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

2022-09-07 23:11:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-07 23:11:13 | entity: <data><node>node_3n4brl0204</node><entry><content>content_qyayij0205</content></entry></data>

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

2022-09-07 23:11:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2074b891-513b-41af-b401-75bb20937e58</value></item-id></result>

2022-09-07 23:11:13 | contains: true

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

2022-09-07 23:11:13 | [Mutex] isItemNotified: user_regulary0c3pr0203@test-domain.com:message:received:content_qyayij0205 :: true

2022-09-07 23:11:13 |


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


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

2022-09-07 23:11:13 | command: <data><node>node_3n4brl0204</node><expire-at>2022-09-08T06:11:08Z</expire-at><entry><content>content_nn0e320206</content></entry></data>

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

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

2022-09-07 23:11:13 | entity: <data><node>node_3n4brl0204</node><expire-at>2022-09-08T06:11:08Z</expire-at><entry><content>content_nn0e320206</content></entry></data>

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

2022-09-07 23:11:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6a28772f-d774-461c-aa6e-948e9171ec27</value></item-id></result>

2022-09-07 23:11:13 | contains: true

2022-09-07 23:11:13 | [Mutex] waiting for: [user_regulary0c3pr0203@test-domain.com:message:received:content_nn0e320206]

2022-09-07 23:11:28 | [Mutex] timeout. Not received [user_regulary0c3pr0203@test-domain.com:message:received:content_nn0e320206]

2022-09-07 23:11:28 | [Mutex] isItemNotified: user_regulary0c3pr0203@test-domain.com:message:received:content_nn0e320206 :: false

2022-09-07 23:11:28 |


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


2022-09-07 23:11:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-07 23:11:28 | command: <data><node>node_3n4brl0204</node><entry><content>content_uy21940207</content></entry></data>

2022-09-07 23:11:28 | target: http://localhost:8088

2022-09-07 23:11:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-07 23:11:28 | entity: <data><node>node_3n4brl0204</node><entry><content>content_uy21940207</content></entry></data>

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

2022-09-07 23:11:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>09ea3bde-d78d-42c0-b093-e6342711be3e</value></item-id></result>

2022-09-07 23:11:28 | contains: true

2022-09-07 23:11:33 | [Mutex] waiting for: [user_regulary0c3pr0203@test-domain.com:message:received:content_uy21940207]

2022-09-07 23:11:33 | [Mutex] waiting for: [user_regulary0c3pr0203@test-domain.com:message:received:content_uy21940207]

2022-09-07 23:11:33 | [Mutex] received everything.

2022-09-07 23:11:33 | [Mutex] isItemNotified: user_regulary0c3pr0203@test-domain.com:message:received:content_uy21940207 :: true

2022-09-07 23:11:33 |


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


2022-09-07 23:11:33 | [Mutex] received everything.

2022-09-07 23:11:33 | [Mutex] isItemNotified: node_3n4brl0204:subscribe_node:success :: true

2022-09-07 23:11:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-07 23:11:33 | command: <data><node>node_3n4brl0204</node><expire-at>2022-09-08T06:11:38Z</expire-at><entry><content>content_xffap00208</content></entry></data>

2022-09-07 23:11:33 | target: http://localhost:8088

2022-09-07 23:11:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-07 23:11:33 | entity: <data><node>node_3n4brl0204</node><expire-at>2022-09-08T06:11:38Z</expire-at><entry><content>content_xffap00208</content></entry></data>

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

2022-09-07 23:11:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>39ea4790-7fc4-4f9a-9411-373276e74382</value></item-id></result>

2022-09-07 23:11:33 | contains: true

2022-09-07 23:11:42 | [Mutex] waiting for: [user_regulary0c3pr0203@test-domain.com:message:received:content_xffap00208]

2022-09-07 23:11:42 | [Mutex] waiting for: [user_regulary0c3pr0203@test-domain.com:message:received:content_xffap00208]

2022-09-07 23:11:42 | [Mutex] waiting for: [user_regulary0c3pr0203@test-domain.com:message:received:content_xffap00208]

2022-09-07 23:11:57 | [Mutex] timeout. Not received [user_regulary0c3pr0203@test-domain.com:message:received:content_xffap00208]

2022-09-07 23:11:57 | [Mutex] received everything.

2022-09-07 23:11:57 | [Mutex] isItemNotified: user_regulary0c3pr0203@test-domain.com:message:received:content_xffap00208 :: false

2022-09-07 23:11:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xffap00208 :: true