Generated by TestNG with ReportNG at 21:21 PST on Wednesday 30 December 2020
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.606s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.832s
2020-12-30 21:37:01 |

2020-12-30 21:37:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-30 21:37:01 | ------------------------------------

2020-12-30 21:37:01 | [Mutex] isItemNotified: node_cysh6g0203:exists :: false

2020-12-30 21:37:01 | [Mutex] waiting for: [node_cysh6g0203:create_node]

2020-12-30 21:37:01 | [Mutex] received everything.

2020-12-30 21:37:01 | [Mutex] isItemNotified: node_cysh6g0203:create_node:success :: true

2020-12-30 21:37:01 | [Mutex] waiting for: [node_cysh6g0203:subscribe_node]

2020-12-30 21:37:01 | [Mutex] received everything.

2020-12-30 21:37:01 | [Mutex] isItemNotified: node_cysh6g0203:subscribe_node:success :: true

2020-12-30 21:37:01 |


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


2020-12-30 21:37:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 21:37:01 | command: <data><node>node_cysh6g0203</node><entry><content>content_2xztri0204</content></entry></data>

2020-12-30 21:37:01 | target: http://localhost:8088

2020-12-30 21:37:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-30 21:37:01 | entity: <data><node>node_cysh6g0203</node><entry><content>content_2xztri0204</content></entry></data>

2020-12-30 21:37:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:37:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 21:37:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>63f74cee-0e15-4c2f-afe0-3a3bcc72b787</value></item-id></result>

2020-12-30 21:37:01 | contains: true

2020-12-30 21:37:01 | [Mutex] received everything.

2020-12-30 21:37:01 | [Mutex] isItemNotified: user_regularrd7j310202@test-domain.com:message:received:content_2xztri0204 :: true

2020-12-30 21:37:01 |


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


2020-12-30 21:37:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 21:37:01 | command: <data><node>node_cysh6g0203</node><expire-at>2020-12-31T05:36:56Z</expire-at><entry><content>content_la7bw60205</content></entry></data>

2020-12-30 21:37:01 | target: http://localhost:8088

2020-12-30 21:37:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-30 21:37:01 | entity: <data><node>node_cysh6g0203</node><expire-at>2020-12-31T05:36:56Z</expire-at><entry><content>content_la7bw60205</content></entry></data>

2020-12-30 21:37:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:37:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 21:37:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ccd3373e-7960-4d32-bd4a-abd2a02fc055</value></item-id></result>

2020-12-30 21:37:01 | contains: true

2020-12-30 21:37:01 | [Mutex] waiting for: [user_regularrd7j310202@test-domain.com:message:received:content_la7bw60205]

2020-12-30 21:37:16 | [Mutex] timeout. Not received [user_regularrd7j310202@test-domain.com:message:received:content_la7bw60205]

2020-12-30 21:37:16 | [Mutex] isItemNotified: user_regularrd7j310202@test-domain.com:message:received:content_la7bw60205 :: false

2020-12-30 21:37:16 |


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


2020-12-30 21:37:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 21:37:16 | command: <data><node>node_cysh6g0203</node><entry><content>content_mcfoig0206</content></entry></data>

2020-12-30 21:37:16 | target: http://localhost:8088

2020-12-30 21:37:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-30 21:37:16 | entity: <data><node>node_cysh6g0203</node><entry><content>content_mcfoig0206</content></entry></data>

2020-12-30 21:37:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:37:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 21:37:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9885a9c7-657e-401d-be9d-3d222ee5f9a1</value></item-id></result>

2020-12-30 21:37:16 | contains: true

2020-12-30 21:37:21 | [Mutex] waiting for: [user_regularrd7j310202@test-domain.com:message:received:content_mcfoig0206]

2020-12-30 21:37:21 | [Mutex] received everything.

2020-12-30 21:37:21 | [Mutex] isItemNotified: user_regularrd7j310202@test-domain.com:message:received:content_mcfoig0206 :: true

2020-12-30 21:37:21 |


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


2020-12-30 21:37:21 | [Mutex] received everything.

2020-12-30 21:37:21 | [Mutex] isItemNotified: node_cysh6g0203:subscribe_node:success :: true

2020-12-30 21:37:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 21:37:21 | command: <data><node>node_cysh6g0203</node><expire-at>2020-12-31T05:37:26Z</expire-at><entry><content>content_e7e6dg0207</content></entry></data>

2020-12-30 21:37:21 | target: http://localhost:8088

2020-12-30 21:37:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-30 21:37:21 | entity: <data><node>node_cysh6g0203</node><expire-at>2020-12-31T05:37:26Z</expire-at><entry><content>content_e7e6dg0207</content></entry></data>

2020-12-30 21:37:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:37:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 21:37:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c7c06050-f493-485a-a838-fdcdfabfb016</value></item-id></result>

2020-12-30 21:37:21 | contains: true

2020-12-30 21:37:29 | [Mutex] waiting for: [user_regularrd7j310202@test-domain.com:message:received:content_e7e6dg0207]

2020-12-30 21:37:29 | [Mutex] waiting for: [user_regularrd7j310202@test-domain.com:message:received:content_e7e6dg0207]

2020-12-30 21:37:44 | [Mutex] timeout. Not received [user_regularrd7j310202@test-domain.com:message:received:content_e7e6dg0207]

2020-12-30 21:37:44 | [Mutex] received everything.

2020-12-30 21:37:44 | [Mutex] isItemNotified: user_regularrd7j310202@test-domain.com:message:received:content_e7e6dg0207 :: false

2020-12-30 21:37:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e7e6dg0207 :: true