Generated by TestNG with ReportNG at 22:14 PDT on Sunday 21 March 2021
root@87f6aca6b6f2 / 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.501s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.648s
2021-03-21 22:28:15 |

2021-03-21 22:28:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-21 22:28:15 | ------------------------------------

2021-03-21 22:28:15 | [Mutex] isItemNotified: node_ek4afl0203:exists :: false

2021-03-21 22:28:15 | [Mutex] waiting for: [node_ek4afl0203:create_node]

2021-03-21 22:28:15 | [Mutex] received everything.

2021-03-21 22:28:15 | [Mutex] isItemNotified: node_ek4afl0203:create_node:success :: true

2021-03-21 22:28:15 | [Mutex] waiting for: [node_ek4afl0203:subscribe_node]

2021-03-21 22:28:15 | [Mutex] waiting for: [node_ek4afl0203:subscribe_node]

2021-03-21 22:28:15 | [Mutex] received everything.

2021-03-21 22:28:15 | [Mutex] isItemNotified: node_ek4afl0203:subscribe_node:success :: true

2021-03-21 22:28:15 |


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


2021-03-21 22:28:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-21 22:28:15 | command: <data><node>node_ek4afl0203</node><entry><content>content_i9ag5b0204</content></entry></data>

2021-03-21 22:28:15 | target: http://localhost:8088

2021-03-21 22:28:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-21 22:28:15 | entity: <data><node>node_ek4afl0203</node><entry><content>content_i9ag5b0204</content></entry></data>

2021-03-21 22:28:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:28:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-21 22:28:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>819c4ee0-b5e2-4c1d-90ad-cd346fa53db7</value></item-id></result>

2021-03-21 22:28:15 | contains: true

2021-03-21 22:28:15 | [Mutex] received everything.

2021-03-21 22:28:15 | [Mutex] isItemNotified: user_regular95ldog0202@test-domain.com:message:received:content_i9ag5b0204 :: true

2021-03-21 22:28:15 |


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


2021-03-21 22:28:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-21 22:28:15 | command: <data><node>node_ek4afl0203</node><expire-at>2021-03-22T05:28:10Z</expire-at><entry><content>content_3bi3ob0205</content></entry></data>

2021-03-21 22:28:15 | target: http://localhost:8088

2021-03-21 22:28:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-21 22:28:15 | entity: <data><node>node_ek4afl0203</node><expire-at>2021-03-22T05:28:10Z</expire-at><entry><content>content_3bi3ob0205</content></entry></data>

2021-03-21 22:28:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:28:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-21 22:28:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a632bcd-acce-4a2c-bc07-a776e02ebc2a</value></item-id></result>

2021-03-21 22:28:15 | contains: true

2021-03-21 22:28:15 | [Mutex] waiting for: [user_regular95ldog0202@test-domain.com:message:received:content_3bi3ob0205]

2021-03-21 22:28:30 | [Mutex] timeout. Not received [user_regular95ldog0202@test-domain.com:message:received:content_3bi3ob0205]

2021-03-21 22:28:30 | [Mutex] isItemNotified: user_regular95ldog0202@test-domain.com:message:received:content_3bi3ob0205 :: false

2021-03-21 22:28:30 |


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


2021-03-21 22:28:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-21 22:28:30 | command: <data><node>node_ek4afl0203</node><entry><content>content_hebxjc0206</content></entry></data>

2021-03-21 22:28:30 | target: http://localhost:8088

2021-03-21 22:28:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-21 22:28:30 | entity: <data><node>node_ek4afl0203</node><entry><content>content_hebxjc0206</content></entry></data>

2021-03-21 22:28:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:28:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-21 22:28:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7b6ce3c9-c984-4a38-8b92-9970c8ad29ce</value></item-id></result>

2021-03-21 22:28:30 | contains: true

2021-03-21 22:28:35 | [Mutex] waiting for: [user_regular95ldog0202@test-domain.com:message:received:content_hebxjc0206]

2021-03-21 22:28:35 | [Mutex] received everything.

2021-03-21 22:28:35 | [Mutex] isItemNotified: user_regular95ldog0202@test-domain.com:message:received:content_hebxjc0206 :: true

2021-03-21 22:28:35 |


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


2021-03-21 22:28:35 | [Mutex] received everything.

2021-03-21 22:28:35 | [Mutex] isItemNotified: node_ek4afl0203:subscribe_node:success :: true

2021-03-21 22:28:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-21 22:28:35 | command: <data><node>node_ek4afl0203</node><expire-at>2021-03-22T05:28:40Z</expire-at><entry><content>content_dg86c50207</content></entry></data>

2021-03-21 22:28:35 | target: http://localhost:8088

2021-03-21 22:28:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-21 22:28:35 | entity: <data><node>node_ek4afl0203</node><expire-at>2021-03-22T05:28:40Z</expire-at><entry><content>content_dg86c50207</content></entry></data>

2021-03-21 22:28:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:28:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-21 22:28:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>87df6605-a2a0-4d6a-9830-22f7b9e967bd</value></item-id></result>

2021-03-21 22:28:35 | contains: true

2021-03-21 22:28:44 | [Mutex] waiting for: [user_regular95ldog0202@test-domain.com:message:received:content_dg86c50207]

2021-03-21 22:28:59 | [Mutex] timeout. Not received [user_regular95ldog0202@test-domain.com:message:received:content_dg86c50207]

2021-03-21 22:28:59 | [Mutex] received everything.

2021-03-21 22:28:59 | [Mutex] isItemNotified: user_regular95ldog0202@test-domain.com:message:received:content_dg86c50207 :: false

2021-03-21 22:28:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dg86c50207 :: true