Generated by TestNG with ReportNG at 22:15 PDT on Monday 03 May 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 : 44.915s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.698s
2021-05-03 22:31:06 |

2021-05-03 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-03 22:31:06 | ------------------------------------

2021-05-03 22:31:06 | [Mutex] isItemNotified: node_7bbz3f0203:exists :: false

2021-05-03 22:31:06 | [Mutex] waiting for: [node_7bbz3f0203:create_node]

2021-05-03 22:31:06 | [Mutex] received everything.

2021-05-03 22:31:06 | [Mutex] isItemNotified: node_7bbz3f0203:create_node:success :: true

2021-05-03 22:31:06 | [Mutex] waiting for: [node_7bbz3f0203:subscribe_node]

2021-05-03 22:31:06 | [Mutex] waiting for: [node_7bbz3f0203:subscribe_node]

2021-05-03 22:31:06 | [Mutex] received everything.

2021-05-03 22:31:06 | [Mutex] isItemNotified: node_7bbz3f0203:subscribe_node:success :: true

2021-05-03 22:31:06 |


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


2021-05-03 22:31:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-03 22:31:06 | command: <data><node>node_7bbz3f0203</node><entry><content>content_igzn2k0204</content></entry></data>

2021-05-03 22:31:06 | target: http://localhost:8088

2021-05-03 22:31:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-03 22:31:06 | entity: <data><node>node_7bbz3f0203</node><entry><content>content_igzn2k0204</content></entry></data>

2021-05-03 22:31:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:31:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-03 22:31:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2b2a8482-89a3-49e3-9619-00e7369d26e0</value></item-id></result>

2021-05-03 22:31:06 | contains: true

2021-05-03 22:31:06 | [Mutex] received everything.

2021-05-03 22:31:06 | [Mutex] isItemNotified: user_regular4h0kq90202@test-domain.com:message:received:content_igzn2k0204 :: true

2021-05-03 22:31:06 |


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


2021-05-03 22:31:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-03 22:31:06 | command: <data><node>node_7bbz3f0203</node><expire-at>2021-05-04T05:31:01Z</expire-at><entry><content>content_ijcv2k0205</content></entry></data>

2021-05-03 22:31:06 | target: http://localhost:8088

2021-05-03 22:31:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-03 22:31:06 | entity: <data><node>node_7bbz3f0203</node><expire-at>2021-05-04T05:31:01Z</expire-at><entry><content>content_ijcv2k0205</content></entry></data>

2021-05-03 22:31:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:31:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-03 22:31:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2ca68bcb-1455-4d4c-bf16-2634dbdc7494</value></item-id></result>

2021-05-03 22:31:06 | contains: true

2021-05-03 22:31:06 | [Mutex] waiting for: [user_regular4h0kq90202@test-domain.com:message:received:content_ijcv2k0205]

2021-05-03 22:31:21 | [Mutex] timeout. Not received [user_regular4h0kq90202@test-domain.com:message:received:content_ijcv2k0205]

2021-05-03 22:31:21 | [Mutex] isItemNotified: user_regular4h0kq90202@test-domain.com:message:received:content_ijcv2k0205 :: false

2021-05-03 22:31:21 |


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


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

2021-05-03 22:31:21 | command: <data><node>node_7bbz3f0203</node><entry><content>content_dk74mo0206</content></entry></data>

2021-05-03 22:31:21 | target: http://localhost:8088

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

2021-05-03 22:31:21 | entity: <data><node>node_7bbz3f0203</node><entry><content>content_dk74mo0206</content></entry></data>

2021-05-03 22:31:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:31:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-03 22:31:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2b622ebf-2521-4559-9959-de41fce7c036</value></item-id></result>

2021-05-03 22:31:21 | contains: true

2021-05-03 22:31:26 | [Mutex] waiting for: [user_regular4h0kq90202@test-domain.com:message:received:content_dk74mo0206]

2021-05-03 22:31:26 | [Mutex] waiting for: [user_regular4h0kq90202@test-domain.com:message:received:content_dk74mo0206]

2021-05-03 22:31:26 | [Mutex] received everything.

2021-05-03 22:31:26 | [Mutex] isItemNotified: user_regular4h0kq90202@test-domain.com:message:received:content_dk74mo0206 :: true

2021-05-03 22:31:26 |


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


2021-05-03 22:31:26 | [Mutex] received everything.

2021-05-03 22:31:26 | [Mutex] isItemNotified: node_7bbz3f0203:subscribe_node:success :: true

2021-05-03 22:31:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-03 22:31:26 | command: <data><node>node_7bbz3f0203</node><expire-at>2021-05-04T05:31:31Z</expire-at><entry><content>content_av3uzo0207</content></entry></data>

2021-05-03 22:31:26 | target: http://localhost:8088

2021-05-03 22:31:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-03 22:31:26 | entity: <data><node>node_7bbz3f0203</node><expire-at>2021-05-04T05:31:31Z</expire-at><entry><content>content_av3uzo0207</content></entry></data>

2021-05-03 22:31:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:31:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-03 22:31:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4036580a-bc46-45e3-8ad3-3fc619c0bc38</value></item-id></result>

2021-05-03 22:31:26 | contains: true

2021-05-03 22:31:34 | [Mutex] waiting for: [user_regular4h0kq90202@test-domain.com:message:received:content_av3uzo0207]

2021-05-03 22:31:34 | [Mutex] waiting for: [user_regular4h0kq90202@test-domain.com:message:received:content_av3uzo0207]

2021-05-03 22:31:49 | [Mutex] timeout. Not received [user_regular4h0kq90202@test-domain.com:message:received:content_av3uzo0207]

2021-05-03 22:31:49 | [Mutex] received everything.

2021-05-03 22:31:49 | [Mutex] isItemNotified: user_regular4h0kq90202@test-domain.com:message:received:content_av3uzo0207 :: false

2021-05-03 22:31:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_av3uzo0207 :: true