Generated by TestNG with ReportNG at 22:43 PDT on Wednesday 26 August 2020
root@95486eacaf22 / 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.136s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.733s
2020-08-26 22:59:04 |

2020-08-26 22:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-26 22:59:04 | ------------------------------------

2020-08-26 22:59:04 | [Mutex] isItemNotified: node_25dz3z0203:exists :: false

2020-08-26 22:59:04 | [Mutex] waiting for: [node_25dz3z0203:create_node]

2020-08-26 22:59:04 | [Mutex] received everything.

2020-08-26 22:59:04 | [Mutex] isItemNotified: node_25dz3z0203:create_node:success :: true

2020-08-26 22:59:04 | [Mutex] waiting for: [node_25dz3z0203:subscribe_node]

2020-08-26 22:59:04 | [Mutex] waiting for: [node_25dz3z0203:subscribe_node]

2020-08-26 22:59:04 | [Mutex] received everything.

2020-08-26 22:59:04 | [Mutex] isItemNotified: node_25dz3z0203:subscribe_node:success :: true

2020-08-26 22:59:04 |


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


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

2020-08-26 22:59:04 | command: <data><node>node_25dz3z0203</node><entry><content>content_9bz6bh0204</content></entry></data>

2020-08-26 22:59:04 | target: http://localhost:8088

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

2020-08-26 22:59:04 | entity: <data><node>node_25dz3z0203</node><entry><content>content_9bz6bh0204</content></entry></data>

2020-08-26 22:59:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:59:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 22:59:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>464444a2-d9ab-4c92-bff1-136d84dbafa9</value></item-id></result>

2020-08-26 22:59:04 | contains: true

2020-08-26 22:59:04 | [Mutex] received everything.

2020-08-26 22:59:04 | [Mutex] isItemNotified: user_regularyzk3ha0202@test-domain.com:message:received:content_9bz6bh0204 :: true

2020-08-26 22:59:04 |


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


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

2020-08-26 22:59:04 | command: <data><node>node_25dz3z0203</node><expire-at>2020-08-27T05:58:59Z</expire-at><entry><content>content_1via5a0205</content></entry></data>

2020-08-26 22:59:04 | target: http://localhost:8088

2020-08-26 22:59:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-26 22:59:04 | entity: <data><node>node_25dz3z0203</node><expire-at>2020-08-27T05:58:59Z</expire-at><entry><content>content_1via5a0205</content></entry></data>

2020-08-26 22:59:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:59:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 22:59:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d8e2f5d8-d03e-4e92-866d-4488b68d721f</value></item-id></result>

2020-08-26 22:59:04 | contains: true

2020-08-26 22:59:04 | [Mutex] waiting for: [user_regularyzk3ha0202@test-domain.com:message:received:content_1via5a0205]

2020-08-26 22:59:19 | [Mutex] timeout. Not received [user_regularyzk3ha0202@test-domain.com:message:received:content_1via5a0205]

2020-08-26 22:59:19 | [Mutex] isItemNotified: user_regularyzk3ha0202@test-domain.com:message:received:content_1via5a0205 :: false

2020-08-26 22:59:19 |


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


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

2020-08-26 22:59:19 | command: <data><node>node_25dz3z0203</node><entry><content>content_v7jlrw0206</content></entry></data>

2020-08-26 22:59:19 | target: http://localhost:8088

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

2020-08-26 22:59:19 | entity: <data><node>node_25dz3z0203</node><entry><content>content_v7jlrw0206</content></entry></data>

2020-08-26 22:59:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:59:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 22:59:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1960698d-5986-4501-b837-b2dab2bd576e</value></item-id></result>

2020-08-26 22:59:19 | contains: true

2020-08-26 22:59:25 | [Mutex] waiting for: [user_regularyzk3ha0202@test-domain.com:message:received:content_v7jlrw0206]

2020-08-26 22:59:25 | [Mutex] received everything.

2020-08-26 22:59:25 | [Mutex] isItemNotified: user_regularyzk3ha0202@test-domain.com:message:received:content_v7jlrw0206 :: true

2020-08-26 22:59:25 |


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


2020-08-26 22:59:25 | [Mutex] received everything.

2020-08-26 22:59:25 | [Mutex] isItemNotified: node_25dz3z0203:subscribe_node:success :: true

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

2020-08-26 22:59:25 | command: <data><node>node_25dz3z0203</node><expire-at>2020-08-27T05:59:30Z</expire-at><entry><content>content_cfpxro0207</content></entry></data>

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

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

2020-08-26 22:59:25 | entity: <data><node>node_25dz3z0203</node><expire-at>2020-08-27T05:59:30Z</expire-at><entry><content>content_cfpxro0207</content></entry></data>

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

2020-08-26 22:59:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>44c1e359-767e-4f24-bd18-7e5a545b78e0</value></item-id></result>

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

2020-08-26 22:59:33 | [Mutex] waiting for: [user_regularyzk3ha0202@test-domain.com:message:received:content_cfpxro0207]

2020-08-26 22:59:33 | [Mutex] waiting for: [user_regularyzk3ha0202@test-domain.com:message:received:content_cfpxro0207]

2020-08-26 22:59:33 | [Mutex] waiting for: [user_regularyzk3ha0202@test-domain.com:message:received:content_cfpxro0207]

2020-08-26 22:59:48 | [Mutex] timeout. Not received [user_regularyzk3ha0202@test-domain.com:message:received:content_cfpxro0207]

2020-08-26 22:59:48 | [Mutex] received everything.

2020-08-26 22:59:48 | [Mutex] isItemNotified: user_regularyzk3ha0202@test-domain.com:message:received:content_cfpxro0207 :: false

2020-08-26 22:59:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cfpxro0207 :: true