Generated by TestNG with ReportNG at 22:42 PDT on Friday 25 September 2020
root@0c1cdac2218e / 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.549s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.674s
2020-09-25 22:58:53 |

2020-09-25 22:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-25 22:58:53 | ------------------------------------

2020-09-25 22:58:53 | [Mutex] isItemNotified: node_bgrudl0203:exists :: false

2020-09-25 22:58:53 | [Mutex] waiting for: [node_bgrudl0203:create_node]

2020-09-25 22:58:53 | [Mutex] received everything.

2020-09-25 22:58:53 | [Mutex] isItemNotified: node_bgrudl0203:create_node:success :: true

2020-09-25 22:58:53 | [Mutex] waiting for: [node_bgrudl0203:subscribe_node]

2020-09-25 22:58:53 | [Mutex] waiting for: [node_bgrudl0203:subscribe_node]

2020-09-25 22:58:53 | [Mutex] received everything.

2020-09-25 22:58:53 | [Mutex] isItemNotified: node_bgrudl0203:subscribe_node:success :: true

2020-09-25 22:58:53 |


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


2020-09-25 22:58:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 22:58:53 | command: <data><node>node_bgrudl0203</node><entry><content>content_5np8yf0204</content></entry></data>

2020-09-25 22:58:53 | target: http://localhost:8088

2020-09-25 22:58:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-25 22:58:53 | entity: <data><node>node_bgrudl0203</node><entry><content>content_5np8yf0204</content></entry></data>

2020-09-25 22:58:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:58:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 22:58:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a4bff95f-b0e2-46c3-aabe-55e40318cb2d</value></item-id></result>

2020-09-25 22:58:53 | contains: true

2020-09-25 22:58:53 | [Mutex] waiting for: [user_regularg4xv8z0202@test-domain.com:message:received:content_5np8yf0204]

2020-09-25 22:58:53 | [Mutex] received everything.

2020-09-25 22:58:53 | [Mutex] isItemNotified: user_regularg4xv8z0202@test-domain.com:message:received:content_5np8yf0204 :: true

2020-09-25 22:58:53 |


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


2020-09-25 22:58:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 22:58:53 | command: <data><node>node_bgrudl0203</node><expire-at>2020-09-26T05:58:48Z</expire-at><entry><content>content_ify6jo0205</content></entry></data>

2020-09-25 22:58:53 | target: http://localhost:8088

2020-09-25 22:58:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-25 22:58:53 | entity: <data><node>node_bgrudl0203</node><expire-at>2020-09-26T05:58:48Z</expire-at><entry><content>content_ify6jo0205</content></entry></data>

2020-09-25 22:58:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:58:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 22:58:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>22b90d1e-5d3a-455c-9512-c5a948bea281</value></item-id></result>

2020-09-25 22:58:53 | contains: true

2020-09-25 22:58:53 | [Mutex] waiting for: [user_regularg4xv8z0202@test-domain.com:message:received:content_ify6jo0205]

2020-09-25 22:59:08 | [Mutex] timeout. Not received [user_regularg4xv8z0202@test-domain.com:message:received:content_ify6jo0205]

2020-09-25 22:59:08 | [Mutex] isItemNotified: user_regularg4xv8z0202@test-domain.com:message:received:content_ify6jo0205 :: false

2020-09-25 22:59:08 |


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


2020-09-25 22:59:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 22:59:08 | command: <data><node>node_bgrudl0203</node><entry><content>content_f85yor0206</content></entry></data>

2020-09-25 22:59:08 | target: http://localhost:8088

2020-09-25 22:59:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-25 22:59:08 | entity: <data><node>node_bgrudl0203</node><entry><content>content_f85yor0206</content></entry></data>

2020-09-25 22:59:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:59:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 22:59:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f463f7e8-f284-492e-aae7-01e4a06d88c1</value></item-id></result>

2020-09-25 22:59:08 | contains: true

2020-09-25 22:59:13 | [Mutex] waiting for: [user_regularg4xv8z0202@test-domain.com:message:received:content_f85yor0206]

2020-09-25 22:59:13 | [Mutex] waiting for: [user_regularg4xv8z0202@test-domain.com:message:received:content_f85yor0206]

2020-09-25 22:59:13 | [Mutex] received everything.

2020-09-25 22:59:13 | [Mutex] isItemNotified: user_regularg4xv8z0202@test-domain.com:message:received:content_f85yor0206 :: true

2020-09-25 22:59:13 |


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


2020-09-25 22:59:13 | [Mutex] received everything.

2020-09-25 22:59:13 | [Mutex] isItemNotified: node_bgrudl0203:subscribe_node:success :: true

2020-09-25 22:59:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 22:59:13 | command: <data><node>node_bgrudl0203</node><expire-at>2020-09-26T05:59:18Z</expire-at><entry><content>content_tvde2x0207</content></entry></data>

2020-09-25 22:59:13 | target: http://localhost:8088

2020-09-25 22:59:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-25 22:59:13 | entity: <data><node>node_bgrudl0203</node><expire-at>2020-09-26T05:59:18Z</expire-at><entry><content>content_tvde2x0207</content></entry></data>

2020-09-25 22:59:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:59:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 22:59:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d035719e-fa99-4d0c-9880-30426a690d1c</value></item-id></result>

2020-09-25 22:59:13 | contains: true

2020-09-25 22:59:21 | [Mutex] waiting for: [user_regularg4xv8z0202@test-domain.com:message:received:content_tvde2x0207]

2020-09-25 22:59:21 | [Mutex] waiting for: [user_regularg4xv8z0202@test-domain.com:message:received:content_tvde2x0207]

2020-09-25 22:59:36 | [Mutex] timeout. Not received [user_regularg4xv8z0202@test-domain.com:message:received:content_tvde2x0207]

2020-09-25 22:59:36 | [Mutex] received everything.

2020-09-25 22:59:36 | [Mutex] isItemNotified: user_regularg4xv8z0202@test-domain.com:message:received:content_tvde2x0207 :: false

2020-09-25 22:59:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tvde2x0207 :: true