Generated by TestNG with ReportNG at 22:24 PDT on Tuesday 21 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.167s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.737s
2021-09-21 22:42:05 |

2021-09-21 22:42:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-21 22:42:05 | ------------------------------------

2021-09-21 22:42:05 | [Mutex] isItemNotified: node_ni008u0203:exists :: false

2021-09-21 22:42:05 | [Mutex] waiting for: [node_ni008u0203:create_node]

2021-09-21 22:42:05 | [Mutex] received everything.

2021-09-21 22:42:05 | [Mutex] isItemNotified: node_ni008u0203:create_node:success :: true

2021-09-21 22:42:05 | [Mutex] waiting for: [node_ni008u0203:subscribe_node]

2021-09-21 22:42:05 | [Mutex] received everything.

2021-09-21 22:42:05 | [Mutex] isItemNotified: node_ni008u0203:subscribe_node:success :: true

2021-09-21 22:42:05 |


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


2021-09-21 22:42:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 22:42:05 | command: <data><node>node_ni008u0203</node><entry><content>content_79dk2j0204</content></entry></data>

2021-09-21 22:42:05 | target: http://localhost:8088

2021-09-21 22:42:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 22:42:05 | entity: <data><node>node_ni008u0203</node><entry><content>content_79dk2j0204</content></entry></data>

2021-09-21 22:42:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 05:42:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 22:42:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a4bd491-b5e6-4ee9-acdc-fe32f104287d</value></item-id></result>

2021-09-21 22:42:05 | contains: true

2021-09-21 22:42:05 | [Mutex] waiting for: [user_regularyplzhi0202@test-domain.com:message:received:content_79dk2j0204]

2021-09-21 22:42:05 | [Mutex] received everything.

2021-09-21 22:42:05 | [Mutex] isItemNotified: user_regularyplzhi0202@test-domain.com:message:received:content_79dk2j0204 :: true

2021-09-21 22:42:05 |


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


2021-09-21 22:42:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 22:42:05 | command: <data><node>node_ni008u0203</node><expire-at>2021-09-22T05:42:00Z</expire-at><entry><content>content_dqpk4v0205</content></entry></data>

2021-09-21 22:42:05 | target: http://localhost:8088

2021-09-21 22:42:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-21 22:42:05 | entity: <data><node>node_ni008u0203</node><expire-at>2021-09-22T05:42:00Z</expire-at><entry><content>content_dqpk4v0205</content></entry></data>

2021-09-21 22:42:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 05:42:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 22:42:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>99474fce-213c-4d64-8f19-0407b96a6678</value></item-id></result>

2021-09-21 22:42:05 | contains: true

2021-09-21 22:42:05 | [Mutex] waiting for: [user_regularyplzhi0202@test-domain.com:message:received:content_dqpk4v0205]

2021-09-21 22:42:20 | [Mutex] timeout. Not received [user_regularyplzhi0202@test-domain.com:message:received:content_dqpk4v0205]

2021-09-21 22:42:20 | [Mutex] isItemNotified: user_regularyplzhi0202@test-domain.com:message:received:content_dqpk4v0205 :: false

2021-09-21 22:42:20 |


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


2021-09-21 22:42:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 22:42:21 | command: <data><node>node_ni008u0203</node><entry><content>content_t6h3420206</content></entry></data>

2021-09-21 22:42:21 | target: http://localhost:8088

2021-09-21 22:42:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 22:42:21 | entity: <data><node>node_ni008u0203</node><entry><content>content_t6h3420206</content></entry></data>

2021-09-21 22:42:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 05:42:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 22:42:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1a91fcf0-c29e-4c63-82d8-736c31a3091c</value></item-id></result>

2021-09-21 22:42:21 | contains: true

2021-09-21 22:42:26 | [Mutex] waiting for: [user_regularyplzhi0202@test-domain.com:message:received:content_t6h3420206]

2021-09-21 22:42:26 | [Mutex] received everything.

2021-09-21 22:42:26 | [Mutex] isItemNotified: user_regularyplzhi0202@test-domain.com:message:received:content_t6h3420206 :: true

2021-09-21 22:42:26 |


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


2021-09-21 22:42:26 | [Mutex] received everything.

2021-09-21 22:42:26 | [Mutex] isItemNotified: node_ni008u0203:subscribe_node:success :: true

2021-09-21 22:42:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 22:42:26 | command: <data><node>node_ni008u0203</node><expire-at>2021-09-22T05:42:31Z</expire-at><entry><content>content_lt4i5p0207</content></entry></data>

2021-09-21 22:42:26 | target: http://localhost:8088

2021-09-21 22:42:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-21 22:42:26 | entity: <data><node>node_ni008u0203</node><expire-at>2021-09-22T05:42:31Z</expire-at><entry><content>content_lt4i5p0207</content></entry></data>

2021-09-21 22:42:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 05:42:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 22:42:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0497b503-f762-42a9-b66b-c852a119bf4f</value></item-id></result>

2021-09-21 22:42:26 | contains: true

2021-09-21 22:42:34 | [Mutex] waiting for: [user_regularyplzhi0202@test-domain.com:message:received:content_lt4i5p0207]

2021-09-21 22:42:34 | [Mutex] waiting for: [user_regularyplzhi0202@test-domain.com:message:received:content_lt4i5p0207]

2021-09-21 22:42:49 | [Mutex] timeout. Not received [user_regularyplzhi0202@test-domain.com:message:received:content_lt4i5p0207]

2021-09-21 22:42:49 | [Mutex] received everything.

2021-09-21 22:42:49 | [Mutex] isItemNotified: user_regularyplzhi0202@test-domain.com:message:received:content_lt4i5p0207 :: false

2021-09-21 22:42:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lt4i5p0207 :: true