Generated by TestNG with ReportNG at 01:43 PST on Thursday 03 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.459s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.686s
2022-02-03 01:59:09 |

2022-02-03 01:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-03 01:59:09 | ------------------------------------

2022-02-03 01:59:09 | [Mutex] isItemNotified: node_im66ey0203:exists :: false

2022-02-03 01:59:09 | [Mutex] waiting for: [node_im66ey0203:create_node]

2022-02-03 01:59:09 | [Mutex] received everything.

2022-02-03 01:59:09 | [Mutex] isItemNotified: node_im66ey0203:create_node:success :: true

2022-02-03 01:59:09 | [Mutex] waiting for: [node_im66ey0203:subscribe_node]

2022-02-03 01:59:09 | [Mutex] received everything.

2022-02-03 01:59:09 | [Mutex] isItemNotified: node_im66ey0203:subscribe_node:success :: true

2022-02-03 01:59:09 |


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


2022-02-03 01:59:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 01:59:09 | command: <data><node>node_im66ey0203</node><entry><content>content_qfmp1r0204</content></entry></data>

2022-02-03 01:59:09 | target: http://localhost:8088

2022-02-03 01:59:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 01:59:09 | entity: <data><node>node_im66ey0203</node><entry><content>content_qfmp1r0204</content></entry></data>

2022-02-03 01:59:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 09:59:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 01:59:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>958adb9b-937e-416b-ab54-0656c0f42842</value></item-id></result>

2022-02-03 01:59:09 | contains: true

2022-02-03 01:59:09 | [Mutex] waiting for: [user_regularbef6520202@test-domain.com:message:received:content_qfmp1r0204]

2022-02-03 01:59:09 | [Mutex] received everything.

2022-02-03 01:59:09 | [Mutex] isItemNotified: user_regularbef6520202@test-domain.com:message:received:content_qfmp1r0204 :: true

2022-02-03 01:59:09 |


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


2022-02-03 01:59:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 01:59:09 | command: <data><node>node_im66ey0203</node><expire-at>2022-02-03T09:59:04Z</expire-at><entry><content>content_rkxg2k0205</content></entry></data>

2022-02-03 01:59:09 | target: http://localhost:8088

2022-02-03 01:59:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 01:59:09 | entity: <data><node>node_im66ey0203</node><expire-at>2022-02-03T09:59:04Z</expire-at><entry><content>content_rkxg2k0205</content></entry></data>

2022-02-03 01:59:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 09:59:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 01:59:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9041a3c3-be20-49ac-8e14-17cebde80f70</value></item-id></result>

2022-02-03 01:59:09 | contains: true

2022-02-03 01:59:09 | [Mutex] waiting for: [user_regularbef6520202@test-domain.com:message:received:content_rkxg2k0205]

2022-02-03 01:59:24 | [Mutex] timeout. Not received [user_regularbef6520202@test-domain.com:message:received:content_rkxg2k0205]

2022-02-03 01:59:24 | [Mutex] isItemNotified: user_regularbef6520202@test-domain.com:message:received:content_rkxg2k0205 :: false

2022-02-03 01:59:24 |


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


2022-02-03 01:59:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 01:59:24 | command: <data><node>node_im66ey0203</node><entry><content>content_a4w5910206</content></entry></data>

2022-02-03 01:59:24 | target: http://localhost:8088

2022-02-03 01:59:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 01:59:24 | entity: <data><node>node_im66ey0203</node><entry><content>content_a4w5910206</content></entry></data>

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

2022-02-03 01:59:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c5f53d5f-c82b-4b09-a088-1aceb6f1908a</value></item-id></result>

2022-02-03 01:59:24 | contains: true

2022-02-03 01:59:29 | [Mutex] waiting for: [user_regularbef6520202@test-domain.com:message:received:content_a4w5910206]

2022-02-03 01:59:29 | [Mutex] received everything.

2022-02-03 01:59:29 | [Mutex] isItemNotified: user_regularbef6520202@test-domain.com:message:received:content_a4w5910206 :: true

2022-02-03 01:59:29 |


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


2022-02-03 01:59:29 | [Mutex] received everything.

2022-02-03 01:59:29 | [Mutex] isItemNotified: node_im66ey0203:subscribe_node:success :: true

2022-02-03 01:59:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 01:59:29 | command: <data><node>node_im66ey0203</node><expire-at>2022-02-03T09:59:34Z</expire-at><entry><content>content_r8rlq30207</content></entry></data>

2022-02-03 01:59:29 | target: http://localhost:8088

2022-02-03 01:59:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 01:59:29 | entity: <data><node>node_im66ey0203</node><expire-at>2022-02-03T09:59:34Z</expire-at><entry><content>content_r8rlq30207</content></entry></data>

2022-02-03 01:59:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 09:59:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 01:59:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>94de334e-1438-4f13-b9dc-bd006efe4d3b</value></item-id></result>

2022-02-03 01:59:29 | contains: true

2022-02-03 01:59:37 | [Mutex] waiting for: [user_regularbef6520202@test-domain.com:message:received:content_r8rlq30207]

2022-02-03 01:59:37 | [Mutex] waiting for: [user_regularbef6520202@test-domain.com:message:received:content_r8rlq30207]

2022-02-03 01:59:52 | [Mutex] timeout. Not received [user_regularbef6520202@test-domain.com:message:received:content_r8rlq30207]

2022-02-03 01:59:52 | [Mutex] received everything.

2022-02-03 01:59:52 | [Mutex] isItemNotified: user_regularbef6520202@test-domain.com:message:received:content_r8rlq30207 :: false

2022-02-03 01:59:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r8rlq30207 :: true