Generated by TestNG with ReportNG at 22:14 PDT on Sunday 25 April 2021
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.058s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.650s
2021-04-25 22:28:07 |

2021-04-25 22:28:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-25 22:28:07 | ------------------------------------

2021-04-25 22:28:07 | [Mutex] isItemNotified: node_3kpy0f0203:exists :: false

2021-04-25 22:28:07 | [Mutex] waiting for: [node_3kpy0f0203:create_node]

2021-04-25 22:28:07 | [Mutex] received everything.

2021-04-25 22:28:07 | [Mutex] isItemNotified: node_3kpy0f0203:create_node:success :: true

2021-04-25 22:28:07 | [Mutex] waiting for: [node_3kpy0f0203:subscribe_node]

2021-04-25 22:28:07 | [Mutex] waiting for: [node_3kpy0f0203:subscribe_node]

2021-04-25 22:28:07 | [Mutex] received everything.

2021-04-25 22:28:07 | [Mutex] isItemNotified: node_3kpy0f0203:subscribe_node:success :: true

2021-04-25 22:28:07 |


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


2021-04-25 22:28:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-25 22:28:07 | command: <data><node>node_3kpy0f0203</node><entry><content>content_h2hhqy0204</content></entry></data>

2021-04-25 22:28:07 | target: http://localhost:8088

2021-04-25 22:28:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-25 22:28:07 | entity: <data><node>node_3kpy0f0203</node><entry><content>content_h2hhqy0204</content></entry></data>

2021-04-25 22:28:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:28:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-25 22:28:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0c8cb669-543f-46bd-b5b1-8771bd067eed</value></item-id></result>

2021-04-25 22:28:07 | contains: true

2021-04-25 22:28:07 | [Mutex] received everything.

2021-04-25 22:28:07 | [Mutex] isItemNotified: user_regularmjbqzk0202@test-domain.com:message:received:content_h2hhqy0204 :: true

2021-04-25 22:28:07 |


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


2021-04-25 22:28:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-25 22:28:07 | command: <data><node>node_3kpy0f0203</node><expire-at>2021-04-26T05:28:02Z</expire-at><entry><content>content_sczrcv0205</content></entry></data>

2021-04-25 22:28:07 | target: http://localhost:8088

2021-04-25 22:28:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-25 22:28:07 | entity: <data><node>node_3kpy0f0203</node><expire-at>2021-04-26T05:28:02Z</expire-at><entry><content>content_sczrcv0205</content></entry></data>

2021-04-25 22:28:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:28:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-25 22:28:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aaf7e33f-4e4e-4a46-a663-fb405cb763e7</value></item-id></result>

2021-04-25 22:28:07 | contains: true

2021-04-25 22:28:07 | [Mutex] waiting for: [user_regularmjbqzk0202@test-domain.com:message:received:content_sczrcv0205]

2021-04-25 22:28:22 | [Mutex] timeout. Not received [user_regularmjbqzk0202@test-domain.com:message:received:content_sczrcv0205]

2021-04-25 22:28:22 | [Mutex] isItemNotified: user_regularmjbqzk0202@test-domain.com:message:received:content_sczrcv0205 :: false

2021-04-25 22:28:22 |


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


2021-04-25 22:28:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-25 22:28:23 | command: <data><node>node_3kpy0f0203</node><entry><content>content_cstagk0206</content></entry></data>

2021-04-25 22:28:23 | target: http://localhost:8088

2021-04-25 22:28:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-25 22:28:23 | entity: <data><node>node_3kpy0f0203</node><entry><content>content_cstagk0206</content></entry></data>

2021-04-25 22:28:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:28:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-25 22:28:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8cbd43e6-74ac-4e13-9e7d-3084c23c8fbd</value></item-id></result>

2021-04-25 22:28:23 | contains: true

2021-04-25 22:28:28 | [Mutex] waiting for: [user_regularmjbqzk0202@test-domain.com:message:received:content_cstagk0206]

2021-04-25 22:28:28 | [Mutex] waiting for: [user_regularmjbqzk0202@test-domain.com:message:received:content_cstagk0206]

2021-04-25 22:28:28 | [Mutex] received everything.

2021-04-25 22:28:28 | [Mutex] isItemNotified: user_regularmjbqzk0202@test-domain.com:message:received:content_cstagk0206 :: true

2021-04-25 22:28:28 |


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


2021-04-25 22:28:28 | [Mutex] received everything.

2021-04-25 22:28:28 | [Mutex] isItemNotified: node_3kpy0f0203:subscribe_node:success :: true

2021-04-25 22:28:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-25 22:28:28 | command: <data><node>node_3kpy0f0203</node><expire-at>2021-04-26T05:28:33Z</expire-at><entry><content>content_4dzh8g0207</content></entry></data>

2021-04-25 22:28:28 | target: http://localhost:8088

2021-04-25 22:28:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-25 22:28:28 | entity: <data><node>node_3kpy0f0203</node><expire-at>2021-04-26T05:28:33Z</expire-at><entry><content>content_4dzh8g0207</content></entry></data>

2021-04-25 22:28:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:28:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-25 22:28:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff6ff15b-204a-406c-baaa-6c9a90624f3b</value></item-id></result>

2021-04-25 22:28:28 | contains: true

2021-04-25 22:28:36 | [Mutex] waiting for: [user_regularmjbqzk0202@test-domain.com:message:received:content_4dzh8g0207]

2021-04-25 22:28:36 | [Mutex] waiting for: [user_regularmjbqzk0202@test-domain.com:message:received:content_4dzh8g0207]

2021-04-25 22:28:36 | [Mutex] waiting for: [user_regularmjbqzk0202@test-domain.com:message:received:content_4dzh8g0207]

2021-04-25 22:28:51 | [Mutex] timeout. Not received [user_regularmjbqzk0202@test-domain.com:message:received:content_4dzh8g0207]

2021-04-25 22:28:51 | [Mutex] received everything.

2021-04-25 22:28:51 | [Mutex] isItemNotified: user_regularmjbqzk0202@test-domain.com:message:received:content_4dzh8g0207 :: false

2021-04-25 22:28:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4dzh8g0207 :: true