Generated by TestNG with ReportNG at 22:20 PDT on Monday 26 April 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 : 45.009s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.698s
2021-04-26 22:37:55 |

2021-04-26 22:37:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-26 22:37:55 | ------------------------------------

2021-04-26 22:37:55 | [Mutex] isItemNotified: node_h1v87o0203:exists :: false

2021-04-26 22:37:55 | [Mutex] waiting for: [node_h1v87o0203:create_node]

2021-04-26 22:37:55 | [Mutex] received everything.

2021-04-26 22:37:55 | [Mutex] isItemNotified: node_h1v87o0203:create_node:success :: true

2021-04-26 22:37:55 | [Mutex] waiting for: [node_h1v87o0203:subscribe_node]

2021-04-26 22:37:55 | [Mutex] received everything.

2021-04-26 22:37:55 | [Mutex] isItemNotified: node_h1v87o0203:subscribe_node:success :: true

2021-04-26 22:37:55 |


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


2021-04-26 22:37:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:37:55 | command: <data><node>node_h1v87o0203</node><entry><content>content_h3tbh00204</content></entry></data>

2021-04-26 22:37:55 | target: http://localhost:8088

2021-04-26 22:37:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-26 22:37:55 | entity: <data><node>node_h1v87o0203</node><entry><content>content_h3tbh00204</content></entry></data>

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

2021-04-26 22:37:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>da22698c-82cf-4457-8371-1d1adfceba52</value></item-id></result>

2021-04-26 22:37:55 | contains: true

2021-04-26 22:37:55 | [Mutex] received everything.

2021-04-26 22:37:55 | [Mutex] isItemNotified: user_regularkjznhk0202@test-domain.com:message:received:content_h3tbh00204 :: true

2021-04-26 22:37:55 |


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


2021-04-26 22:37:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:37:55 | command: <data><node>node_h1v87o0203</node><expire-at>2021-04-27T05:37:50Z</expire-at><entry><content>content_j2qft60205</content></entry></data>

2021-04-26 22:37:55 | target: http://localhost:8088

2021-04-26 22:37:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-26 22:37:55 | entity: <data><node>node_h1v87o0203</node><expire-at>2021-04-27T05:37:50Z</expire-at><entry><content>content_j2qft60205</content></entry></data>

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

2021-04-26 22:37:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5d60ce46-c8c9-4578-8ccd-96fe004cd84c</value></item-id></result>

2021-04-26 22:37:55 | contains: true

2021-04-26 22:37:55 | [Mutex] waiting for: [user_regularkjznhk0202@test-domain.com:message:received:content_j2qft60205]

2021-04-26 22:38:10 | [Mutex] timeout. Not received [user_regularkjznhk0202@test-domain.com:message:received:content_j2qft60205]

2021-04-26 22:38:10 | [Mutex] isItemNotified: user_regularkjznhk0202@test-domain.com:message:received:content_j2qft60205 :: false

2021-04-26 22:38:10 |


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


2021-04-26 22:38:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:38:10 | command: <data><node>node_h1v87o0203</node><entry><content>content_bns4w0206</content></entry></data>

2021-04-26 22:38:10 | target: http://localhost:8088

2021-04-26 22:38:10 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-04-26 22:38:10 | entity: <data><node>node_h1v87o0203</node><entry><content>content_bns4w0206</content></entry></data>

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

2021-04-26 22:38:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>444ce62e-5819-4d5f-89bb-da5ea114e286</value></item-id></result>

2021-04-26 22:38:10 | contains: true

2021-04-26 22:38:16 | [Mutex] received everything.

2021-04-26 22:38:16 | [Mutex] isItemNotified: user_regularkjznhk0202@test-domain.com:message:received:content_bns4w0206 :: true

2021-04-26 22:38:16 |


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


2021-04-26 22:38:16 | [Mutex] received everything.

2021-04-26 22:38:16 | [Mutex] isItemNotified: node_h1v87o0203:subscribe_node:success :: true

2021-04-26 22:38:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:38:16 | command: <data><node>node_h1v87o0203</node><expire-at>2021-04-27T05:38:21Z</expire-at><entry><content>content_79u5p10207</content></entry></data>

2021-04-26 22:38:16 | target: http://localhost:8088

2021-04-26 22:38:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-26 22:38:16 | entity: <data><node>node_h1v87o0203</node><expire-at>2021-04-27T05:38:21Z</expire-at><entry><content>content_79u5p10207</content></entry></data>

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

2021-04-26 22:38:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d6185df9-02cf-4e6e-beaa-eae6d3208de4</value></item-id></result>

2021-04-26 22:38:16 | contains: true

2021-04-26 22:38:24 | [Mutex] waiting for: [user_regularkjznhk0202@test-domain.com:message:received:content_79u5p10207]

2021-04-26 22:38:39 | [Mutex] timeout. Not received [user_regularkjznhk0202@test-domain.com:message:received:content_79u5p10207]

2021-04-26 22:38:39 | [Mutex] received everything.

2021-04-26 22:38:39 | [Mutex] isItemNotified: user_regularkjznhk0202@test-domain.com:message:received:content_79u5p10207 :: false

2021-04-26 22:38:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_79u5p10207 :: true