Generated by TestNG with ReportNG at 22:43 PDT on Monday 05 April 2021
root@43fec6d4badf / 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.606s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.688s
2021-04-05 22:58:20 |

2021-04-05 22:58:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-05 22:58:20 | ------------------------------------

2021-04-05 22:58:20 | [Mutex] isItemNotified: node_ar6zrs0203:exists :: false

2021-04-05 22:58:20 | [Mutex] waiting for: [node_ar6zrs0203:create_node]

2021-04-05 22:58:20 | [Mutex] received everything.

2021-04-05 22:58:20 | [Mutex] isItemNotified: node_ar6zrs0203:create_node:success :: true

2021-04-05 22:58:20 | [Mutex] waiting for: [node_ar6zrs0203:subscribe_node]

2021-04-05 22:58:20 | [Mutex] waiting for: [node_ar6zrs0203:subscribe_node]

2021-04-05 22:58:20 | [Mutex] received everything.

2021-04-05 22:58:20 | [Mutex] isItemNotified: node_ar6zrs0203:subscribe_node:success :: true

2021-04-05 22:58:20 |


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


2021-04-05 22:58:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:58:20 | command: <data><node>node_ar6zrs0203</node><entry><content>content_8yq33e0204</content></entry></data>

2021-04-05 22:58:20 | target: http://localhost:8088

2021-04-05 22:58:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-05 22:58:20 | entity: <data><node>node_ar6zrs0203</node><entry><content>content_8yq33e0204</content></entry></data>

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

2021-04-05 22:58:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed28e682-fb55-473c-b89c-db89d68fa69c</value></item-id></result>

2021-04-05 22:58:20 | contains: true

2021-04-05 22:58:20 | [Mutex] received everything.

2021-04-05 22:58:20 | [Mutex] isItemNotified: user_regularmuqv5a0202@test-domain.com:message:received:content_8yq33e0204 :: true

2021-04-05 22:58:20 |


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


2021-04-05 22:58:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:58:20 | command: <data><node>node_ar6zrs0203</node><expire-at>2021-04-06T05:58:15Z</expire-at><entry><content>content_a0y84h0205</content></entry></data>

2021-04-05 22:58:20 | target: http://localhost:8088

2021-04-05 22:58:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-05 22:58:20 | entity: <data><node>node_ar6zrs0203</node><expire-at>2021-04-06T05:58:15Z</expire-at><entry><content>content_a0y84h0205</content></entry></data>

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

2021-04-05 22:58:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5947de22-e402-490a-ad82-3fbc4e5b02d3</value></item-id></result>

2021-04-05 22:58:21 | contains: true

2021-04-05 22:58:21 | [Mutex] waiting for: [user_regularmuqv5a0202@test-domain.com:message:received:content_a0y84h0205]

2021-04-05 22:58:36 | [Mutex] timeout. Not received [user_regularmuqv5a0202@test-domain.com:message:received:content_a0y84h0205]

2021-04-05 22:58:36 | [Mutex] isItemNotified: user_regularmuqv5a0202@test-domain.com:message:received:content_a0y84h0205 :: false

2021-04-05 22:58:36 |


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


2021-04-05 22:58:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:58:36 | command: <data><node>node_ar6zrs0203</node><entry><content>content_1zmw2l0206</content></entry></data>

2021-04-05 22:58:36 | target: http://localhost:8088

2021-04-05 22:58:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-05 22:58:36 | entity: <data><node>node_ar6zrs0203</node><entry><content>content_1zmw2l0206</content></entry></data>

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

2021-04-05 22:58:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f1dc7097-b2e6-4861-9098-ea444b8f03d4</value></item-id></result>

2021-04-05 22:58:36 | contains: true

2021-04-05 22:58:41 | [Mutex] waiting for: [user_regularmuqv5a0202@test-domain.com:message:received:content_1zmw2l0206]

2021-04-05 22:58:41 | [Mutex] waiting for: [user_regularmuqv5a0202@test-domain.com:message:received:content_1zmw2l0206]

2021-04-05 22:58:41 | [Mutex] received everything.

2021-04-05 22:58:41 | [Mutex] isItemNotified: user_regularmuqv5a0202@test-domain.com:message:received:content_1zmw2l0206 :: true

2021-04-05 22:58:41 |


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


2021-04-05 22:58:41 | [Mutex] received everything.

2021-04-05 22:58:41 | [Mutex] isItemNotified: node_ar6zrs0203:subscribe_node:success :: true

2021-04-05 22:58:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:58:41 | command: <data><node>node_ar6zrs0203</node><expire-at>2021-04-06T05:58:46Z</expire-at><entry><content>content_9lvadb0207</content></entry></data>

2021-04-05 22:58:41 | target: http://localhost:8088

2021-04-05 22:58:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-05 22:58:41 | entity: <data><node>node_ar6zrs0203</node><expire-at>2021-04-06T05:58:46Z</expire-at><entry><content>content_9lvadb0207</content></entry></data>

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

2021-04-05 22:58:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f9b46c8d-8bf7-406c-9fba-8257f7a5a411</value></item-id></result>

2021-04-05 22:58:41 | contains: true

2021-04-05 22:58:49 | [Mutex] waiting for: [user_regularmuqv5a0202@test-domain.com:message:received:content_9lvadb0207]

2021-04-05 22:58:49 | [Mutex] waiting for: [user_regularmuqv5a0202@test-domain.com:message:received:content_9lvadb0207]

2021-04-05 22:58:49 | [Mutex] waiting for: [user_regularmuqv5a0202@test-domain.com:message:received:content_9lvadb0207]

2021-04-05 22:59:04 | [Mutex] timeout. Not received [user_regularmuqv5a0202@test-domain.com:message:received:content_9lvadb0207]

2021-04-05 22:59:04 | [Mutex] received everything.

2021-04-05 22:59:04 | [Mutex] isItemNotified: user_regularmuqv5a0202@test-domain.com:message:received:content_9lvadb0207 :: false

2021-04-05 22:59:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9lvadb0207 :: true