Generated by TestNG with ReportNG at 21:13 PST on Tuesday 02 February 2021
root@43fec6d4badf / 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.641s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.785s
2021-02-02 21:27:48 |

2021-02-02 21:27:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-02 21:27:48 | ------------------------------------

2021-02-02 21:27:48 | [Mutex] isItemNotified: node_5bt5w20203:exists :: false

2021-02-02 21:27:48 | [Mutex] waiting for: [node_5bt5w20203:create_node]

2021-02-02 21:27:48 | [Mutex] received everything.

2021-02-02 21:27:48 | [Mutex] isItemNotified: node_5bt5w20203:create_node:success :: true

2021-02-02 21:27:48 | [Mutex] waiting for: [node_5bt5w20203:subscribe_node]

2021-02-02 21:27:48 | [Mutex] waiting for: [node_5bt5w20203:subscribe_node]

2021-02-02 21:27:48 | [Mutex] received everything.

2021-02-02 21:27:48 | [Mutex] isItemNotified: node_5bt5w20203:subscribe_node:success :: true

2021-02-02 21:27:48 |


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


2021-02-02 21:27:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:27:48 | command: <data><node>node_5bt5w20203</node><entry><content>content_cqbfu40204</content></entry></data>

2021-02-02 21:27:48 | target: http://localhost:8088

2021-02-02 21:27:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-02 21:27:48 | entity: <data><node>node_5bt5w20203</node><entry><content>content_cqbfu40204</content></entry></data>

2021-02-02 21:27:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:27:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:27:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2ec911ba-3dde-41a3-8610-638f33d7e3c8</value></item-id></result>

2021-02-02 21:27:48 | contains: true

2021-02-02 21:27:48 | [Mutex] received everything.

2021-02-02 21:27:48 | [Mutex] isItemNotified: user_regulark6d21k0202@test-domain.com:message:received:content_cqbfu40204 :: true

2021-02-02 21:27:48 |


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


2021-02-02 21:27:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:27:48 | command: <data><node>node_5bt5w20203</node><expire-at>2021-02-03T05:27:43Z</expire-at><entry><content>content_lpoyrz0205</content></entry></data>

2021-02-02 21:27:48 | target: http://localhost:8088

2021-02-02 21:27:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 21:27:48 | entity: <data><node>node_5bt5w20203</node><expire-at>2021-02-03T05:27:43Z</expire-at><entry><content>content_lpoyrz0205</content></entry></data>

2021-02-02 21:27:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:27:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:27:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e6d9bbf5-6847-4983-a7a0-e471f2de64b4</value></item-id></result>

2021-02-02 21:27:48 | contains: true

2021-02-02 21:27:48 | [Mutex] waiting for: [user_regulark6d21k0202@test-domain.com:message:received:content_lpoyrz0205]

2021-02-02 21:28:03 | [Mutex] timeout. Not received [user_regulark6d21k0202@test-domain.com:message:received:content_lpoyrz0205]

2021-02-02 21:28:03 | [Mutex] isItemNotified: user_regulark6d21k0202@test-domain.com:message:received:content_lpoyrz0205 :: false

2021-02-02 21:28:03 |


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


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

2021-02-02 21:28:03 | command: <data><node>node_5bt5w20203</node><entry><content>content_d7x8gt0206</content></entry></data>

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

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

2021-02-02 21:28:03 | entity: <data><node>node_5bt5w20203</node><entry><content>content_d7x8gt0206</content></entry></data>

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

2021-02-02 21:28:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>db679023-5945-4e2d-86ab-eb11dde4226b</value></item-id></result>

2021-02-02 21:28:03 | contains: true

2021-02-02 21:28:08 | [Mutex] waiting for: [user_regulark6d21k0202@test-domain.com:message:received:content_d7x8gt0206]

2021-02-02 21:28:08 | [Mutex] waiting for: [user_regulark6d21k0202@test-domain.com:message:received:content_d7x8gt0206]

2021-02-02 21:28:08 | [Mutex] received everything.

2021-02-02 21:28:08 | [Mutex] isItemNotified: user_regulark6d21k0202@test-domain.com:message:received:content_d7x8gt0206 :: true

2021-02-02 21:28:08 |


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


2021-02-02 21:28:08 | [Mutex] received everything.

2021-02-02 21:28:08 | [Mutex] isItemNotified: node_5bt5w20203:subscribe_node:success :: true

2021-02-02 21:28:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:28:08 | command: <data><node>node_5bt5w20203</node><expire-at>2021-02-03T05:28:13Z</expire-at><entry><content>content_9ky6tk0207</content></entry></data>

2021-02-02 21:28:08 | target: http://localhost:8088

2021-02-02 21:28:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 21:28:08 | entity: <data><node>node_5bt5w20203</node><expire-at>2021-02-03T05:28:13Z</expire-at><entry><content>content_9ky6tk0207</content></entry></data>

2021-02-02 21:28:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:28:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:28:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>93b77094-df77-41f5-8916-66a69d17d88d</value></item-id></result>

2021-02-02 21:28:08 | contains: true

2021-02-02 21:28:16 | [Mutex] waiting for: [user_regulark6d21k0202@test-domain.com:message:received:content_9ky6tk0207]

2021-02-02 21:28:16 | [Mutex] waiting for: [user_regulark6d21k0202@test-domain.com:message:received:content_9ky6tk0207]

2021-02-02 21:28:31 | [Mutex] timeout. Not received [user_regulark6d21k0202@test-domain.com:message:received:content_9ky6tk0207]

2021-02-02 21:28:31 | [Mutex] received everything.

2021-02-02 21:28:31 | [Mutex] isItemNotified: user_regulark6d21k0202@test-domain.com:message:received:content_9ky6tk0207 :: false

2021-02-02 21:28:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9ky6tk0207 :: true