Generated by TestNG with ReportNG at 21:19 PST on Monday 21 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.397s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.610s
2022-02-21 21:35:44 |

2022-02-21 21:35:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-21 21:35:44 | ------------------------------------

2022-02-21 21:35:44 | [Mutex] isItemNotified: node_a2ahen0203:exists :: false

2022-02-21 21:35:44 | [Mutex] waiting for: [node_a2ahen0203:create_node]

2022-02-21 21:35:44 | [Mutex] received everything.

2022-02-21 21:35:44 | [Mutex] isItemNotified: node_a2ahen0203:create_node:success :: true

2022-02-21 21:35:44 | [Mutex] waiting for: [node_a2ahen0203:subscribe_node]

2022-02-21 21:35:44 | [Mutex] waiting for: [node_a2ahen0203:subscribe_node]

2022-02-21 21:35:44 | [Mutex] received everything.

2022-02-21 21:35:44 | [Mutex] isItemNotified: node_a2ahen0203:subscribe_node:success :: true

2022-02-21 21:35:44 |


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


2022-02-21 21:35:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-21 21:35:44 | command: <data><node>node_a2ahen0203</node><entry><content>content_mmoppv0204</content></entry></data>

2022-02-21 21:35:44 | target: http://localhost:8088

2022-02-21 21:35:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-21 21:35:44 | entity: <data><node>node_a2ahen0203</node><entry><content>content_mmoppv0204</content></entry></data>

2022-02-21 21:35:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:35:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-21 21:35:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dac521a8-94c4-4180-99d7-7841b6a2258c</value></item-id></result>

2022-02-21 21:35:44 | contains: true

2022-02-21 21:35:44 | [Mutex] received everything.

2022-02-21 21:35:44 | [Mutex] isItemNotified: user_regulare2sku90202@test-domain.com:message:received:content_mmoppv0204 :: true

2022-02-21 21:35:44 |


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


2022-02-21 21:35:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-21 21:35:44 | command: <data><node>node_a2ahen0203</node><expire-at>2022-02-22T05:35:39Z</expire-at><entry><content>content_l6yecv0205</content></entry></data>

2022-02-21 21:35:44 | target: http://localhost:8088

2022-02-21 21:35:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-21 21:35:44 | entity: <data><node>node_a2ahen0203</node><expire-at>2022-02-22T05:35:39Z</expire-at><entry><content>content_l6yecv0205</content></entry></data>

2022-02-21 21:35:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:35:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-21 21:35:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1e68236-cd15-4560-a44a-6749584260a0</value></item-id></result>

2022-02-21 21:35:44 | contains: true

2022-02-21 21:35:44 | [Mutex] waiting for: [user_regulare2sku90202@test-domain.com:message:received:content_l6yecv0205]

2022-02-21 21:35:59 | [Mutex] timeout. Not received [user_regulare2sku90202@test-domain.com:message:received:content_l6yecv0205]

2022-02-21 21:35:59 | [Mutex] isItemNotified: user_regulare2sku90202@test-domain.com:message:received:content_l6yecv0205 :: false

2022-02-21 21:35:59 |


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


2022-02-21 21:35:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-21 21:35:59 | command: <data><node>node_a2ahen0203</node><entry><content>content_6vljwz0206</content></entry></data>

2022-02-21 21:35:59 | target: http://localhost:8088

2022-02-21 21:35:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-21 21:35:59 | entity: <data><node>node_a2ahen0203</node><entry><content>content_6vljwz0206</content></entry></data>

2022-02-21 21:35:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:35:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-21 21:35:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4e690d94-e54a-4858-bf30-e3fcbd023697</value></item-id></result>

2022-02-21 21:35:59 | contains: true

2022-02-21 21:36:05 | [Mutex] waiting for: [user_regulare2sku90202@test-domain.com:message:received:content_6vljwz0206]

2022-02-21 21:36:05 | [Mutex] received everything.

2022-02-21 21:36:05 | [Mutex] isItemNotified: user_regulare2sku90202@test-domain.com:message:received:content_6vljwz0206 :: true

2022-02-21 21:36:05 |


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


2022-02-21 21:36:05 | [Mutex] received everything.

2022-02-21 21:36:05 | [Mutex] isItemNotified: node_a2ahen0203:subscribe_node:success :: true

2022-02-21 21:36:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-21 21:36:05 | command: <data><node>node_a2ahen0203</node><expire-at>2022-02-22T05:36:10Z</expire-at><entry><content>content_xa0ulw0207</content></entry></data>

2022-02-21 21:36:05 | target: http://localhost:8088

2022-02-21 21:36:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-21 21:36:05 | entity: <data><node>node_a2ahen0203</node><expire-at>2022-02-22T05:36:10Z</expire-at><entry><content>content_xa0ulw0207</content></entry></data>

2022-02-21 21:36:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:36:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-21 21:36:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b72bdd2e-75b1-4b58-85be-6293f3948f18</value></item-id></result>

2022-02-21 21:36:05 | contains: true

2022-02-21 21:36:13 | [Mutex] waiting for: [user_regulare2sku90202@test-domain.com:message:received:content_xa0ulw0207]

2022-02-21 21:36:28 | [Mutex] timeout. Not received [user_regulare2sku90202@test-domain.com:message:received:content_xa0ulw0207]

2022-02-21 21:36:28 | [Mutex] received everything.

2022-02-21 21:36:28 | [Mutex] isItemNotified: user_regulare2sku90202@test-domain.com:message:received:content_xa0ulw0207 :: false

2022-02-21 21:36:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xa0ulw0207 :: true