Generated by TestNG with ReportNG at 22:31 PDT on Saturday 19 September 2020
root@9a694adb6f25 / 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.465s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.724s
2020-09-19 22:44:56 |

2020-09-19 22:44:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-19 22:44:56 | ------------------------------------

2020-09-19 22:44:56 | [Mutex] isItemNotified: node_962zpn0203:exists :: false

2020-09-19 22:44:56 | [Mutex] waiting for: [node_962zpn0203:create_node]

2020-09-19 22:44:56 | [Mutex] received everything.

2020-09-19 22:44:56 | [Mutex] isItemNotified: node_962zpn0203:create_node:success :: true

2020-09-19 22:44:56 | [Mutex] waiting for: [node_962zpn0203:subscribe_node]

2020-09-19 22:44:56 | [Mutex] waiting for: [node_962zpn0203:subscribe_node]

2020-09-19 22:44:56 | [Mutex] received everything.

2020-09-19 22:44:56 | [Mutex] isItemNotified: node_962zpn0203:subscribe_node:success :: true

2020-09-19 22:44:56 |


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


2020-09-19 22:44:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 22:44:56 | command: <data><node>node_962zpn0203</node><entry><content>content_6sdfqt0204</content></entry></data>

2020-09-19 22:44:56 | target: http://localhost:8088

2020-09-19 22:44:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-19 22:44:56 | entity: <data><node>node_962zpn0203</node><entry><content>content_6sdfqt0204</content></entry></data>

2020-09-19 22:44:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 05:44:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 22:44:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05531aa5-c704-497b-9957-1d81b8337a2c</value></item-id></result>

2020-09-19 22:44:56 | contains: true

2020-09-19 22:44:56 | [Mutex] received everything.

2020-09-19 22:44:56 | [Mutex] isItemNotified: user_regularvxz98v0202@test-domain.com:message:received:content_6sdfqt0204 :: true

2020-09-19 22:44:56 |


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


2020-09-19 22:44:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 22:44:56 | command: <data><node>node_962zpn0203</node><expire-at>2020-09-20T05:44:51Z</expire-at><entry><content>content_jyutso0205</content></entry></data>

2020-09-19 22:44:56 | target: http://localhost:8088

2020-09-19 22:44:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-19 22:44:56 | entity: <data><node>node_962zpn0203</node><expire-at>2020-09-20T05:44:51Z</expire-at><entry><content>content_jyutso0205</content></entry></data>

2020-09-19 22:44:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 05:44:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 22:44:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f5d652b9-d69d-4a3f-bec8-f9d0f94f3b14</value></item-id></result>

2020-09-19 22:44:56 | contains: true

2020-09-19 22:44:56 | [Mutex] waiting for: [user_regularvxz98v0202@test-domain.com:message:received:content_jyutso0205]

2020-09-19 22:45:11 | [Mutex] timeout. Not received [user_regularvxz98v0202@test-domain.com:message:received:content_jyutso0205]

2020-09-19 22:45:11 | [Mutex] isItemNotified: user_regularvxz98v0202@test-domain.com:message:received:content_jyutso0205 :: false

2020-09-19 22:45:11 |


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


2020-09-19 22:45:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 22:45:11 | command: <data><node>node_962zpn0203</node><entry><content>content_wxpy9d0206</content></entry></data>

2020-09-19 22:45:11 | target: http://localhost:8088

2020-09-19 22:45:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-19 22:45:11 | entity: <data><node>node_962zpn0203</node><entry><content>content_wxpy9d0206</content></entry></data>

2020-09-19 22:45:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 05:45:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 22:45:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9d4ebec2-9b34-4ea1-bbde-a5c8d9cc7751</value></item-id></result>

2020-09-19 22:45:11 | contains: true

2020-09-19 22:45:16 | [Mutex] received everything.

2020-09-19 22:45:16 | [Mutex] isItemNotified: user_regularvxz98v0202@test-domain.com:message:received:content_wxpy9d0206 :: true

2020-09-19 22:45:16 |


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


2020-09-19 22:45:16 | [Mutex] received everything.

2020-09-19 22:45:16 | [Mutex] isItemNotified: node_962zpn0203:subscribe_node:success :: true

2020-09-19 22:45:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 22:45:16 | command: <data><node>node_962zpn0203</node><expire-at>2020-09-20T05:45:21Z</expire-at><entry><content>content_r9it6n0207</content></entry></data>

2020-09-19 22:45:16 | target: http://localhost:8088

2020-09-19 22:45:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-19 22:45:16 | entity: <data><node>node_962zpn0203</node><expire-at>2020-09-20T05:45:21Z</expire-at><entry><content>content_r9it6n0207</content></entry></data>

2020-09-19 22:45:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 05:45:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 22:45:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2520452a-1da3-4d0d-a2ee-b066a4c0785d</value></item-id></result>

2020-09-19 22:45:16 | contains: true

2020-09-19 22:45:24 | [Mutex] waiting for: [user_regularvxz98v0202@test-domain.com:message:received:content_r9it6n0207]

2020-09-19 22:45:24 | [Mutex] waiting for: [user_regularvxz98v0202@test-domain.com:message:received:content_r9it6n0207]

2020-09-19 22:45:39 | [Mutex] timeout. Not received [user_regularvxz98v0202@test-domain.com:message:received:content_r9it6n0207]

2020-09-19 22:45:39 | [Mutex] received everything.

2020-09-19 22:45:39 | [Mutex] isItemNotified: user_regularvxz98v0202@test-domain.com:message:received:content_r9it6n0207 :: false

2020-09-19 22:45:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r9it6n0207 :: true