Generated by TestNG with ReportNG at 00:10 PDT on Wednesday 02 September 2020
root@556a2edbe156 / 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.616s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.777s
2020-09-02 00:26:38 |

2020-09-02 00:26:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-02 00:26:38 | ------------------------------------

2020-09-02 00:26:38 | [Mutex] isItemNotified: node_ugtp2i0203:exists :: false

2020-09-02 00:26:38 | [Mutex] waiting for: [node_ugtp2i0203:create_node]

2020-09-02 00:26:38 | [Mutex] received everything.

2020-09-02 00:26:38 | [Mutex] isItemNotified: node_ugtp2i0203:create_node:success :: true

2020-09-02 00:26:38 | [Mutex] waiting for: [node_ugtp2i0203:subscribe_node]

2020-09-02 00:26:38 | [Mutex] received everything.

2020-09-02 00:26:38 | [Mutex] isItemNotified: node_ugtp2i0203:subscribe_node:success :: true

2020-09-02 00:26:38 |


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


2020-09-02 00:26:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 00:26:38 | command: <data><node>node_ugtp2i0203</node><entry><content>content_kzf5tf0204</content></entry></data>

2020-09-02 00:26:38 | target: http://localhost:8088

2020-09-02 00:26:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-02 00:26:38 | entity: <data><node>node_ugtp2i0203</node><entry><content>content_kzf5tf0204</content></entry></data>

2020-09-02 00:26:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 07:26:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 00:26:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4fab8c0c-8dae-485f-997b-aa2c6e6cab37</value></item-id></result>

2020-09-02 00:26:38 | contains: true

2020-09-02 00:26:38 | [Mutex] waiting for: [user_regularz3q0gg0202@test-domain.com:message:received:content_kzf5tf0204]

2020-09-02 00:26:38 | [Mutex] received everything.

2020-09-02 00:26:38 | [Mutex] isItemNotified: user_regularz3q0gg0202@test-domain.com:message:received:content_kzf5tf0204 :: true

2020-09-02 00:26:38 |


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


2020-09-02 00:26:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 00:26:38 | command: <data><node>node_ugtp2i0203</node><expire-at>2020-09-02T07:26:33Z</expire-at><entry><content>content_l6nvcw0205</content></entry></data>

2020-09-02 00:26:38 | target: http://localhost:8088

2020-09-02 00:26:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-02 00:26:38 | entity: <data><node>node_ugtp2i0203</node><expire-at>2020-09-02T07:26:33Z</expire-at><entry><content>content_l6nvcw0205</content></entry></data>

2020-09-02 00:26:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 07:26:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 00:26:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6aa09a6f-da11-40f9-ba75-9702c0868836</value></item-id></result>

2020-09-02 00:26:38 | contains: true

2020-09-02 00:26:38 | [Mutex] waiting for: [user_regularz3q0gg0202@test-domain.com:message:received:content_l6nvcw0205]

2020-09-02 00:26:53 | [Mutex] timeout. Not received [user_regularz3q0gg0202@test-domain.com:message:received:content_l6nvcw0205]

2020-09-02 00:26:53 | [Mutex] isItemNotified: user_regularz3q0gg0202@test-domain.com:message:received:content_l6nvcw0205 :: false

2020-09-02 00:26:53 |


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


2020-09-02 00:26:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 00:26:53 | command: <data><node>node_ugtp2i0203</node><entry><content>content_yzx9oa0206</content></entry></data>

2020-09-02 00:26:53 | target: http://localhost:8088

2020-09-02 00:26:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-02 00:26:53 | entity: <data><node>node_ugtp2i0203</node><entry><content>content_yzx9oa0206</content></entry></data>

2020-09-02 00:26:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 07:26:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 00:26:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed167392-9deb-443a-9759-00ffc7b0eb7b</value></item-id></result>

2020-09-02 00:26:53 | contains: true

2020-09-02 00:26:58 | [Mutex] received everything.

2020-09-02 00:26:58 | [Mutex] isItemNotified: user_regularz3q0gg0202@test-domain.com:message:received:content_yzx9oa0206 :: true

2020-09-02 00:26:58 |


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


2020-09-02 00:26:58 | [Mutex] received everything.

2020-09-02 00:26:58 | [Mutex] isItemNotified: node_ugtp2i0203:subscribe_node:success :: true

2020-09-02 00:26:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 00:26:58 | command: <data><node>node_ugtp2i0203</node><expire-at>2020-09-02T07:27:03Z</expire-at><entry><content>content_v8sar10207</content></entry></data>

2020-09-02 00:26:58 | target: http://localhost:8088

2020-09-02 00:26:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-02 00:26:58 | entity: <data><node>node_ugtp2i0203</node><expire-at>2020-09-02T07:27:03Z</expire-at><entry><content>content_v8sar10207</content></entry></data>

2020-09-02 00:26:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 07:26:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 00:26:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55f087a2-1e2e-49ee-9f44-3629d4c1db87</value></item-id></result>

2020-09-02 00:26:58 | contains: true

2020-09-02 00:27:07 | [Mutex] waiting for: [user_regularz3q0gg0202@test-domain.com:message:received:content_v8sar10207]

2020-09-02 00:27:07 | [Mutex] waiting for: [user_regularz3q0gg0202@test-domain.com:message:received:content_v8sar10207]

2020-09-02 00:27:22 | [Mutex] timeout. Not received [user_regularz3q0gg0202@test-domain.com:message:received:content_v8sar10207]

2020-09-02 00:27:22 | [Mutex] received everything.

2020-09-02 00:27:22 | [Mutex] isItemNotified: user_regularz3q0gg0202@test-domain.com:message:received:content_v8sar10207 :: false

2020-09-02 00:27:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_v8sar10207 :: true