Generated by TestNG with ReportNG at 22:20 PDT on Monday 05 September 2022
root@7c41cec37518 / 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.943s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.557s
2022-09-05 22:32:31 |

2022-09-05 22:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-05 22:32:31 | ------------------------------------

2022-09-05 22:32:31 | [Mutex] isItemNotified: node_qo35jb0201:exists :: false

2022-09-05 22:32:31 | [Mutex] waiting for: [node_qo35jb0201:create_node]

2022-09-05 22:32:31 | [Mutex] received everything.

2022-09-05 22:32:31 | [Mutex] isItemNotified: node_qo35jb0201:create_node:success :: true

2022-09-05 22:32:31 | [Mutex] waiting for: [node_qo35jb0201:subscribe_node]

2022-09-05 22:32:31 | [Mutex] waiting for: [node_qo35jb0201:subscribe_node]

2022-09-05 22:32:31 | [Mutex] received everything.

2022-09-05 22:32:31 | [Mutex] isItemNotified: node_qo35jb0201:subscribe_node:success :: true

2022-09-05 22:32:31 |


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


2022-09-05 22:32:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:32:31 | command: <data><node>node_qo35jb0201</node><entry><content>content_p3gl990202</content></entry></data>

2022-09-05 22:32:31 | target: http://localhost:8088

2022-09-05 22:32:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-05 22:32:31 | entity: <data><node>node_qo35jb0201</node><entry><content>content_p3gl990202</content></entry></data>

2022-09-05 22:32:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:32:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:32:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9e680dca-8bda-44e1-8a5a-9b24c5973418</value></item-id></result>

2022-09-05 22:32:31 | contains: true

2022-09-05 22:32:31 | [Mutex] received everything.

2022-09-05 22:32:31 | [Mutex] isItemNotified: user_regular1gihdh0200@test-domain.com:message:received:content_p3gl990202 :: true

2022-09-05 22:32:31 |


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


2022-09-05 22:32:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:32:31 | command: <data><node>node_qo35jb0201</node><expire-at>2022-09-06T05:32:26Z</expire-at><entry><content>content_wcb4kn0203</content></entry></data>

2022-09-05 22:32:31 | target: http://localhost:8088

2022-09-05 22:32:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-05 22:32:31 | entity: <data><node>node_qo35jb0201</node><expire-at>2022-09-06T05:32:26Z</expire-at><entry><content>content_wcb4kn0203</content></entry></data>

2022-09-05 22:32:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:32:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:32:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>423c0884-e0db-49a6-a474-013b8a483c9e</value></item-id></result>

2022-09-05 22:32:31 | contains: true

2022-09-05 22:32:31 | [Mutex] waiting for: [user_regular1gihdh0200@test-domain.com:message:received:content_wcb4kn0203]

2022-09-05 22:32:46 | [Mutex] timeout. Not received [user_regular1gihdh0200@test-domain.com:message:received:content_wcb4kn0203]

2022-09-05 22:32:46 | [Mutex] isItemNotified: user_regular1gihdh0200@test-domain.com:message:received:content_wcb4kn0203 :: false

2022-09-05 22:32:46 |


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


2022-09-05 22:32:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:32:47 | command: <data><node>node_qo35jb0201</node><entry><content>content_1qlshm0204</content></entry></data>

2022-09-05 22:32:47 | target: http://localhost:8088

2022-09-05 22:32:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-05 22:32:47 | entity: <data><node>node_qo35jb0201</node><entry><content>content_1qlshm0204</content></entry></data>

2022-09-05 22:32:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:32:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:32:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>60ee4cc2-f688-43fd-a291-3a3196214643</value></item-id></result>

2022-09-05 22:32:47 | contains: true

2022-09-05 22:32:52 | [Mutex] waiting for: [user_regular1gihdh0200@test-domain.com:message:received:content_1qlshm0204]

2022-09-05 22:32:52 | [Mutex] waiting for: [user_regular1gihdh0200@test-domain.com:message:received:content_1qlshm0204]

2022-09-05 22:32:52 | [Mutex] received everything.

2022-09-05 22:32:52 | [Mutex] isItemNotified: user_regular1gihdh0200@test-domain.com:message:received:content_1qlshm0204 :: true

2022-09-05 22:32:52 |


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


2022-09-05 22:32:52 | [Mutex] received everything.

2022-09-05 22:32:52 | [Mutex] isItemNotified: node_qo35jb0201:subscribe_node:success :: true

2022-09-05 22:32:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:32:52 | command: <data><node>node_qo35jb0201</node><expire-at>2022-09-06T05:32:57Z</expire-at><entry><content>content_wc76e80205</content></entry></data>

2022-09-05 22:32:52 | target: http://localhost:8088

2022-09-05 22:32:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-05 22:32:52 | entity: <data><node>node_qo35jb0201</node><expire-at>2022-09-06T05:32:57Z</expire-at><entry><content>content_wc76e80205</content></entry></data>

2022-09-05 22:32:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:32:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:32:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cd3d4210-0e6f-4bd7-af24-f02fc7167b4a</value></item-id></result>

2022-09-05 22:32:52 | contains: true

2022-09-05 22:33:00 | [Mutex] waiting for: [user_regular1gihdh0200@test-domain.com:message:received:content_wc76e80205]

2022-09-05 22:33:00 | [Mutex] waiting for: [user_regular1gihdh0200@test-domain.com:message:received:content_wc76e80205]

2022-09-05 22:33:15 | [Mutex] timeout. Not received [user_regular1gihdh0200@test-domain.com:message:received:content_wc76e80205]

2022-09-05 22:33:15 | [Mutex] received everything.

2022-09-05 22:33:15 | [Mutex] isItemNotified: user_regular1gihdh0200@test-domain.com:message:received:content_wc76e80205 :: false

2022-09-05 22:33:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wc76e80205 :: true