Generated by TestNG with ReportNG at 22:57 PDT on Sunday 06 September 2020
root@3ee9c8e1f047 / 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.415s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.668s
2020-09-06 23:12:13 |

2020-09-06 23:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-06 23:12:13 | ------------------------------------

2020-09-06 23:12:13 | [Mutex] isItemNotified: node_gn2l5q0203:exists :: false

2020-09-06 23:12:13 | [Mutex] waiting for: [node_gn2l5q0203:create_node]

2020-09-06 23:12:13 | [Mutex] received everything.

2020-09-06 23:12:13 | [Mutex] isItemNotified: node_gn2l5q0203:create_node:success :: true

2020-09-06 23:12:13 | [Mutex] waiting for: [node_gn2l5q0203:subscribe_node]

2020-09-06 23:12:13 | [Mutex] received everything.

2020-09-06 23:12:13 | [Mutex] isItemNotified: node_gn2l5q0203:subscribe_node:success :: true

2020-09-06 23:12:13 |


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


2020-09-06 23:12:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-06 23:12:13 | command: <data><node>node_gn2l5q0203</node><entry><content>content_mur4xn0204</content></entry></data>

2020-09-06 23:12:13 | target: http://localhost:8088

2020-09-06 23:12:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-06 23:12:13 | entity: <data><node>node_gn2l5q0203</node><entry><content>content_mur4xn0204</content></entry></data>

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

2020-09-06 23:12:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc4a453f-9129-4e53-9846-ca6a747246cb</value></item-id></result>

2020-09-06 23:12:13 | contains: true

2020-09-06 23:12:13 | [Mutex] received everything.

2020-09-06 23:12:13 | [Mutex] isItemNotified: user_regularg3lqt20202@test-domain.com:message:received:content_mur4xn0204 :: true

2020-09-06 23:12:13 |


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


2020-09-06 23:12:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-06 23:12:13 | command: <data><node>node_gn2l5q0203</node><expire-at>2020-09-07T06:12:08Z</expire-at><entry><content>content_dl30jo0205</content></entry></data>

2020-09-06 23:12:13 | target: http://localhost:8088

2020-09-06 23:12:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-06 23:12:13 | entity: <data><node>node_gn2l5q0203</node><expire-at>2020-09-07T06:12:08Z</expire-at><entry><content>content_dl30jo0205</content></entry></data>

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

2020-09-06 23:12:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b4ffe92b-07bf-490f-bffc-37e5c128b0a2</value></item-id></result>

2020-09-06 23:12:13 | contains: true

2020-09-06 23:12:13 | [Mutex] waiting for: [user_regularg3lqt20202@test-domain.com:message:received:content_dl30jo0205]

2020-09-06 23:12:28 | [Mutex] timeout. Not received [user_regularg3lqt20202@test-domain.com:message:received:content_dl30jo0205]

2020-09-06 23:12:28 | [Mutex] isItemNotified: user_regularg3lqt20202@test-domain.com:message:received:content_dl30jo0205 :: false

2020-09-06 23:12:28 |


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


2020-09-06 23:12:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-06 23:12:28 | command: <data><node>node_gn2l5q0203</node><entry><content>content_7a7o120206</content></entry></data>

2020-09-06 23:12:28 | target: http://localhost:8088

2020-09-06 23:12:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-06 23:12:28 | entity: <data><node>node_gn2l5q0203</node><entry><content>content_7a7o120206</content></entry></data>

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

2020-09-06 23:12:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>83bf2794-55a6-4d31-a002-ab92f3082f38</value></item-id></result>

2020-09-06 23:12:28 | contains: true

2020-09-06 23:12:33 | [Mutex] waiting for: [user_regularg3lqt20202@test-domain.com:message:received:content_7a7o120206]

2020-09-06 23:12:33 | [Mutex] received everything.

2020-09-06 23:12:33 | [Mutex] isItemNotified: user_regularg3lqt20202@test-domain.com:message:received:content_7a7o120206 :: true

2020-09-06 23:12:33 |


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


2020-09-06 23:12:33 | [Mutex] received everything.

2020-09-06 23:12:33 | [Mutex] isItemNotified: node_gn2l5q0203:subscribe_node:success :: true

2020-09-06 23:12:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-06 23:12:33 | command: <data><node>node_gn2l5q0203</node><expire-at>2020-09-07T06:12:38Z</expire-at><entry><content>content_2s3q1x0207</content></entry></data>

2020-09-06 23:12:33 | target: http://localhost:8088

2020-09-06 23:12:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-06 23:12:33 | entity: <data><node>node_gn2l5q0203</node><expire-at>2020-09-07T06:12:38Z</expire-at><entry><content>content_2s3q1x0207</content></entry></data>

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

2020-09-06 23:12:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>86a5b017-4921-41bd-9bc8-4e6aad39cef5</value></item-id></result>

2020-09-06 23:12:33 | contains: true

2020-09-06 23:12:42 | [Mutex] waiting for: [user_regularg3lqt20202@test-domain.com:message:received:content_2s3q1x0207]

2020-09-06 23:12:57 | [Mutex] timeout. Not received [user_regularg3lqt20202@test-domain.com:message:received:content_2s3q1x0207]

2020-09-06 23:12:57 | [Mutex] received everything.

2020-09-06 23:12:57 | [Mutex] isItemNotified: user_regularg3lqt20202@test-domain.com:message:received:content_2s3q1x0207 :: false

2020-09-06 23:12:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2s3q1x0207 :: true