Generated by TestNG with ReportNG at 22:52 PDT on Wednesday 22 September 2021
root@b2c2a8eba6e6 / 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.078s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.696s
2021-09-22 23:08:14 |

2021-09-22 23:08:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-22 23:08:14 | ------------------------------------

2021-09-22 23:08:14 | [Mutex] isItemNotified: node_7zduss0203:exists :: false

2021-09-22 23:08:14 | [Mutex] waiting for: [node_7zduss0203:create_node]

2021-09-22 23:08:14 | [Mutex] received everything.

2021-09-22 23:08:14 | [Mutex] isItemNotified: node_7zduss0203:create_node:success :: true

2021-09-22 23:08:14 | [Mutex] waiting for: [node_7zduss0203:subscribe_node]

2021-09-22 23:08:14 | [Mutex] waiting for: [node_7zduss0203:subscribe_node]

2021-09-22 23:08:14 | [Mutex] received everything.

2021-09-22 23:08:14 | [Mutex] isItemNotified: node_7zduss0203:subscribe_node:success :: true

2021-09-22 23:08:14 |


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


2021-09-22 23:08:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-22 23:08:14 | command: <data><node>node_7zduss0203</node><entry><content>content_u8oygh0204</content></entry></data>

2021-09-22 23:08:14 | target: http://localhost:8088

2021-09-22 23:08:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-22 23:08:14 | entity: <data><node>node_7zduss0203</node><entry><content>content_u8oygh0204</content></entry></data>

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

2021-09-22 23:08:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4e2770b7-5a6f-43dc-bb0b-8572e7311c46</value></item-id></result>

2021-09-22 23:08:14 | contains: true

2021-09-22 23:08:14 | [Mutex] received everything.

2021-09-22 23:08:14 | [Mutex] isItemNotified: user_regularelioof0202@test-domain.com:message:received:content_u8oygh0204 :: true

2021-09-22 23:08:14 |


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


2021-09-22 23:08:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-22 23:08:14 | command: <data><node>node_7zduss0203</node><expire-at>2021-09-23T06:08:09Z</expire-at><entry><content>content_jj04uw0205</content></entry></data>

2021-09-22 23:08:14 | target: http://localhost:8088

2021-09-22 23:08:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-22 23:08:14 | entity: <data><node>node_7zduss0203</node><expire-at>2021-09-23T06:08:09Z</expire-at><entry><content>content_jj04uw0205</content></entry></data>

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

2021-09-22 23:08:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>995ebee0-60a0-4118-97d9-159174353954</value></item-id></result>

2021-09-22 23:08:14 | contains: true

2021-09-22 23:08:14 | [Mutex] waiting for: [user_regularelioof0202@test-domain.com:message:received:content_jj04uw0205]

2021-09-22 23:08:29 | [Mutex] timeout. Not received [user_regularelioof0202@test-domain.com:message:received:content_jj04uw0205]

2021-09-22 23:08:29 | [Mutex] isItemNotified: user_regularelioof0202@test-domain.com:message:received:content_jj04uw0205 :: false

2021-09-22 23:08:29 |


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


2021-09-22 23:08:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-22 23:08:29 | command: <data><node>node_7zduss0203</node><entry><content>content_wop23v0206</content></entry></data>

2021-09-22 23:08:29 | target: http://localhost:8088

2021-09-22 23:08:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-22 23:08:29 | entity: <data><node>node_7zduss0203</node><entry><content>content_wop23v0206</content></entry></data>

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

2021-09-22 23:08:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>722ada95-3000-4d69-9f42-583847a3d6e1</value></item-id></result>

2021-09-22 23:08:29 | contains: true

2021-09-22 23:08:35 | [Mutex] waiting for: [user_regularelioof0202@test-domain.com:message:received:content_wop23v0206]

2021-09-22 23:08:35 | [Mutex] waiting for: [user_regularelioof0202@test-domain.com:message:received:content_wop23v0206]

2021-09-22 23:08:35 | [Mutex] received everything.

2021-09-22 23:08:35 | [Mutex] isItemNotified: user_regularelioof0202@test-domain.com:message:received:content_wop23v0206 :: true

2021-09-22 23:08:35 |


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


2021-09-22 23:08:35 | [Mutex] received everything.

2021-09-22 23:08:35 | [Mutex] isItemNotified: node_7zduss0203:subscribe_node:success :: true

2021-09-22 23:08:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-22 23:08:35 | command: <data><node>node_7zduss0203</node><expire-at>2021-09-23T06:08:40Z</expire-at><entry><content>content_4x0j190207</content></entry></data>

2021-09-22 23:08:35 | target: http://localhost:8088

2021-09-22 23:08:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-22 23:08:35 | entity: <data><node>node_7zduss0203</node><expire-at>2021-09-23T06:08:40Z</expire-at><entry><content>content_4x0j190207</content></entry></data>

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

2021-09-22 23:08:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07fb1ee2-456c-45ac-a6e0-9417c1bcd58a</value></item-id></result>

2021-09-22 23:08:35 | contains: true

2021-09-22 23:08:43 | [Mutex] waiting for: [user_regularelioof0202@test-domain.com:message:received:content_4x0j190207]

2021-09-22 23:08:58 | [Mutex] timeout. Not received [user_regularelioof0202@test-domain.com:message:received:content_4x0j190207]

2021-09-22 23:08:58 | [Mutex] received everything.

2021-09-22 23:08:58 | [Mutex] isItemNotified: user_regularelioof0202@test-domain.com:message:received:content_4x0j190207 :: false

2021-09-22 23:08:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4x0j190207 :: true