Generated by TestNG with ReportNG at 21:59 PST on Wednesday 16 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.046s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.604s
2022-02-16 22:15:33 |

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

2022-02-16 22:15:33 | ------------------------------------

2022-02-16 22:15:33 | [Mutex] isItemNotified: node_qeglh30203:exists :: false

2022-02-16 22:15:33 | [Mutex] waiting for: [node_qeglh30203:create_node]

2022-02-16 22:15:33 | [Mutex] received everything.

2022-02-16 22:15:33 | [Mutex] isItemNotified: node_qeglh30203:create_node:success :: true

2022-02-16 22:15:33 | [Mutex] waiting for: [node_qeglh30203:subscribe_node]

2022-02-16 22:15:33 | [Mutex] received everything.

2022-02-16 22:15:33 | [Mutex] isItemNotified: node_qeglh30203:subscribe_node:success :: true

2022-02-16 22:15:33 |


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


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

2022-02-16 22:15:33 | command: <data><node>node_qeglh30203</node><entry><content>content_bg6t50204</content></entry></data>

2022-02-16 22:15:33 | target: http://localhost:8088

2022-02-16 22:15:33 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-02-16 22:15:33 | entity: <data><node>node_qeglh30203</node><entry><content>content_bg6t50204</content></entry></data>

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

2022-02-16 22:15:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>64dbb013-e442-4910-a5ac-1faf550b5ee0</value></item-id></result>

2022-02-16 22:15:33 | contains: true

2022-02-16 22:15:33 | [Mutex] received everything.

2022-02-16 22:15:33 | [Mutex] isItemNotified: user_regularkck0x70202@test-domain.com:message:received:content_bg6t50204 :: true

2022-02-16 22:15:33 |


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


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

2022-02-16 22:15:33 | command: <data><node>node_qeglh30203</node><expire-at>2022-02-17T06:15:28Z</expire-at><entry><content>content_mdsx9n0205</content></entry></data>

2022-02-16 22:15:33 | target: http://localhost:8088

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

2022-02-16 22:15:33 | entity: <data><node>node_qeglh30203</node><expire-at>2022-02-17T06:15:28Z</expire-at><entry><content>content_mdsx9n0205</content></entry></data>

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

2022-02-16 22:15:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c003260-10b4-4395-81eb-33615abd22db</value></item-id></result>

2022-02-16 22:15:33 | contains: true

2022-02-16 22:15:33 | [Mutex] waiting for: [user_regularkck0x70202@test-domain.com:message:received:content_mdsx9n0205]

2022-02-16 22:15:48 | [Mutex] timeout. Not received [user_regularkck0x70202@test-domain.com:message:received:content_mdsx9n0205]

2022-02-16 22:15:48 | [Mutex] isItemNotified: user_regularkck0x70202@test-domain.com:message:received:content_mdsx9n0205 :: false

2022-02-16 22:15:48 |


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


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

2022-02-16 22:15:48 | command: <data><node>node_qeglh30203</node><entry><content>content_v03x4n0206</content></entry></data>

2022-02-16 22:15:48 | target: http://localhost:8088

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

2022-02-16 22:15:48 | entity: <data><node>node_qeglh30203</node><entry><content>content_v03x4n0206</content></entry></data>

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

2022-02-16 22:15:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b96ff72-e8ac-4bde-a498-903f0f7fa4b0</value></item-id></result>

2022-02-16 22:15:48 | contains: true

2022-02-16 22:15:53 | [Mutex] waiting for: [user_regularkck0x70202@test-domain.com:message:received:content_v03x4n0206]

2022-02-16 22:15:53 | [Mutex] received everything.

2022-02-16 22:15:53 | [Mutex] isItemNotified: user_regularkck0x70202@test-domain.com:message:received:content_v03x4n0206 :: true

2022-02-16 22:15:53 |


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


2022-02-16 22:15:53 | [Mutex] received everything.

2022-02-16 22:15:53 | [Mutex] isItemNotified: node_qeglh30203:subscribe_node:success :: true

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

2022-02-16 22:15:53 | command: <data><node>node_qeglh30203</node><expire-at>2022-02-17T06:15:58Z</expire-at><entry><content>content_vgid7c0207</content></entry></data>

2022-02-16 22:15:53 | target: http://localhost:8088

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

2022-02-16 22:15:53 | entity: <data><node>node_qeglh30203</node><expire-at>2022-02-17T06:15:58Z</expire-at><entry><content>content_vgid7c0207</content></entry></data>

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

2022-02-16 22:15:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6a3f3c08-0594-4751-8d07-d2d97b7d5985</value></item-id></result>

2022-02-16 22:15:53 | contains: true

2022-02-16 22:16:01 | [Mutex] waiting for: [user_regularkck0x70202@test-domain.com:message:received:content_vgid7c0207]

2022-02-16 22:16:16 | [Mutex] timeout. Not received [user_regularkck0x70202@test-domain.com:message:received:content_vgid7c0207]

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

2022-02-16 22:16:16 | [Mutex] isItemNotified: user_regularkck0x70202@test-domain.com:message:received:content_vgid7c0207 :: false

2022-02-16 22:16:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vgid7c0207 :: true