Generated by TestNG with ReportNG at 22:59 PDT on Sunday 27 September 2020
root@5144953a445d / 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.691s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.779s
2020-09-27 23:15:48 |

2020-09-27 23:15:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-27 23:15:48 | ------------------------------------

2020-09-27 23:15:48 | [Mutex] isItemNotified: node_v63pnh0203:exists :: false

2020-09-27 23:15:48 | [Mutex] waiting for: [node_v63pnh0203:create_node]

2020-09-27 23:15:48 | [Mutex] received everything.

2020-09-27 23:15:48 | [Mutex] isItemNotified: node_v63pnh0203:create_node:success :: true

2020-09-27 23:15:48 | [Mutex] waiting for: [node_v63pnh0203:subscribe_node]

2020-09-27 23:15:48 | [Mutex] received everything.

2020-09-27 23:15:48 | [Mutex] isItemNotified: node_v63pnh0203:subscribe_node:success :: true

2020-09-27 23:15:48 |


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


2020-09-27 23:15:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-27 23:15:48 | command: <data><node>node_v63pnh0203</node><entry><content>content_pxztcb0204</content></entry></data>

2020-09-27 23:15:48 | target: http://localhost:8088

2020-09-27 23:15:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-27 23:15:48 | entity: <data><node>node_v63pnh0203</node><entry><content>content_pxztcb0204</content></entry></data>

2020-09-27 23:15:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 06:15:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-27 23:15:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>248a9a9f-ff27-44d6-afdf-936ef7c244c3</value></item-id></result>

2020-09-27 23:15:48 | contains: true

2020-09-27 23:15:48 | [Mutex] waiting for: [user_regularhvv9p80202@test-domain.com:message:received:content_pxztcb0204]

2020-09-27 23:15:48 | [Mutex] received everything.

2020-09-27 23:15:48 | [Mutex] isItemNotified: user_regularhvv9p80202@test-domain.com:message:received:content_pxztcb0204 :: true

2020-09-27 23:15:48 |


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


2020-09-27 23:15:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-27 23:15:48 | command: <data><node>node_v63pnh0203</node><expire-at>2020-09-28T06:15:43Z</expire-at><entry><content>content_he2rno0205</content></entry></data>

2020-09-27 23:15:48 | target: http://localhost:8088

2020-09-27 23:15:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-27 23:15:48 | entity: <data><node>node_v63pnh0203</node><expire-at>2020-09-28T06:15:43Z</expire-at><entry><content>content_he2rno0205</content></entry></data>

2020-09-27 23:15:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 06:15:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-27 23:15:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>267e95f8-fc92-403a-8f6f-ddb3a1f86377</value></item-id></result>

2020-09-27 23:15:48 | contains: true

2020-09-27 23:15:48 | [Mutex] waiting for: [user_regularhvv9p80202@test-domain.com:message:received:content_he2rno0205]

2020-09-27 23:16:03 | [Mutex] timeout. Not received [user_regularhvv9p80202@test-domain.com:message:received:content_he2rno0205]

2020-09-27 23:16:03 | [Mutex] isItemNotified: user_regularhvv9p80202@test-domain.com:message:received:content_he2rno0205 :: false

2020-09-27 23:16:03 |


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


2020-09-27 23:16:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-27 23:16:04 | command: <data><node>node_v63pnh0203</node><entry><content>content_yibazg0206</content></entry></data>

2020-09-27 23:16:04 | target: http://localhost:8088

2020-09-27 23:16:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-27 23:16:04 | entity: <data><node>node_v63pnh0203</node><entry><content>content_yibazg0206</content></entry></data>

2020-09-27 23:16:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 06:16:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-27 23:16:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6d18ef78-a749-48eb-8542-12e4585a0cbe</value></item-id></result>

2020-09-27 23:16:04 | contains: true

2020-09-27 23:16:09 | [Mutex] waiting for: [user_regularhvv9p80202@test-domain.com:message:received:content_yibazg0206]

2020-09-27 23:16:09 | [Mutex] received everything.

2020-09-27 23:16:09 | [Mutex] isItemNotified: user_regularhvv9p80202@test-domain.com:message:received:content_yibazg0206 :: true

2020-09-27 23:16:09 |


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


2020-09-27 23:16:09 | [Mutex] received everything.

2020-09-27 23:16:09 | [Mutex] isItemNotified: node_v63pnh0203:subscribe_node:success :: true

2020-09-27 23:16:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-27 23:16:09 | command: <data><node>node_v63pnh0203</node><expire-at>2020-09-28T06:16:14Z</expire-at><entry><content>content_6jlj1g0207</content></entry></data>

2020-09-27 23:16:09 | target: http://localhost:8088

2020-09-27 23:16:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-27 23:16:09 | entity: <data><node>node_v63pnh0203</node><expire-at>2020-09-28T06:16:14Z</expire-at><entry><content>content_6jlj1g0207</content></entry></data>

2020-09-27 23:16:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 06:16:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-27 23:16:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>861ccc94-2c74-423a-bc68-0eaf0f851047</value></item-id></result>

2020-09-27 23:16:09 | contains: true

2020-09-27 23:16:17 | [Mutex] waiting for: [user_regularhvv9p80202@test-domain.com:message:received:content_6jlj1g0207]

2020-09-27 23:16:32 | [Mutex] timeout. Not received [user_regularhvv9p80202@test-domain.com:message:received:content_6jlj1g0207]

2020-09-27 23:16:32 | [Mutex] received everything.

2020-09-27 23:16:32 | [Mutex] isItemNotified: user_regularhvv9p80202@test-domain.com:message:received:content_6jlj1g0207 :: false

2020-09-27 23:16:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6jlj1g0207 :: true