Generated by TestNG with ReportNG at 22:27 PDT on Wednesday 06 October 2021
root@b2c2a8eba6e6 / 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.430s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.716s
2021-10-06 22:42:49 |

2021-10-06 22:42:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-06 22:42:49 | ------------------------------------

2021-10-06 22:42:49 | [Mutex] isItemNotified: node_wry7qs0203:exists :: false

2021-10-06 22:42:49 | [Mutex] waiting for: [node_wry7qs0203:create_node]

2021-10-06 22:42:49 | [Mutex] received everything.

2021-10-06 22:42:49 | [Mutex] isItemNotified: node_wry7qs0203:create_node:success :: true

2021-10-06 22:42:49 | [Mutex] waiting for: [node_wry7qs0203:subscribe_node]

2021-10-06 22:42:49 | [Mutex] waiting for: [node_wry7qs0203:subscribe_node]

2021-10-06 22:42:49 | [Mutex] received everything.

2021-10-06 22:42:49 | [Mutex] isItemNotified: node_wry7qs0203:subscribe_node:success :: true

2021-10-06 22:42:49 |


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


2021-10-06 22:42:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:42:49 | command: <data><node>node_wry7qs0203</node><entry><content>content_v8dr3w0204</content></entry></data>

2021-10-06 22:42:49 | target: http://localhost:8088

2021-10-06 22:42:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-06 22:42:49 | entity: <data><node>node_wry7qs0203</node><entry><content>content_v8dr3w0204</content></entry></data>

2021-10-06 22:42:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:42:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:42:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9cd7519b-6191-4801-8fce-3bac7d74f155</value></item-id></result>

2021-10-06 22:42:49 | contains: true

2021-10-06 22:42:49 | [Mutex] received everything.

2021-10-06 22:42:49 | [Mutex] isItemNotified: user_regular17vu8f0202@test-domain.com:message:received:content_v8dr3w0204 :: true

2021-10-06 22:42:49 |


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


2021-10-06 22:42:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:42:49 | command: <data><node>node_wry7qs0203</node><expire-at>2021-10-07T05:42:44Z</expire-at><entry><content>content_nz5zej0205</content></entry></data>

2021-10-06 22:42:49 | target: http://localhost:8088

2021-10-06 22:42:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-06 22:42:49 | entity: <data><node>node_wry7qs0203</node><expire-at>2021-10-07T05:42:44Z</expire-at><entry><content>content_nz5zej0205</content></entry></data>

2021-10-06 22:42:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:42:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:42:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>805151db-fd0d-4239-8d01-3d41aa0e36ba</value></item-id></result>

2021-10-06 22:42:49 | contains: true

2021-10-06 22:42:49 | [Mutex] waiting for: [user_regular17vu8f0202@test-domain.com:message:received:content_nz5zej0205]

2021-10-06 22:43:04 | [Mutex] timeout. Not received [user_regular17vu8f0202@test-domain.com:message:received:content_nz5zej0205]

2021-10-06 22:43:04 | [Mutex] isItemNotified: user_regular17vu8f0202@test-domain.com:message:received:content_nz5zej0205 :: false

2021-10-06 22:43:04 |


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


2021-10-06 22:43:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:43:04 | command: <data><node>node_wry7qs0203</node><entry><content>content_xvyeum0206</content></entry></data>

2021-10-06 22:43:04 | target: http://localhost:8088

2021-10-06 22:43:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-06 22:43:04 | entity: <data><node>node_wry7qs0203</node><entry><content>content_xvyeum0206</content></entry></data>

2021-10-06 22:43:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:43:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:43:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2ee7b33f-7da5-4d43-8ed8-ed1c9596cba1</value></item-id></result>

2021-10-06 22:43:04 | contains: true

2021-10-06 22:43:09 | [Mutex] waiting for: [user_regular17vu8f0202@test-domain.com:message:received:content_xvyeum0206]

2021-10-06 22:43:09 | [Mutex] received everything.

2021-10-06 22:43:09 | [Mutex] isItemNotified: user_regular17vu8f0202@test-domain.com:message:received:content_xvyeum0206 :: true

2021-10-06 22:43:09 |


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


2021-10-06 22:43:09 | [Mutex] received everything.

2021-10-06 22:43:09 | [Mutex] isItemNotified: node_wry7qs0203:subscribe_node:success :: true

2021-10-06 22:43:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:43:09 | command: <data><node>node_wry7qs0203</node><expire-at>2021-10-07T05:43:14Z</expire-at><entry><content>content_wzbuuc0207</content></entry></data>

2021-10-06 22:43:09 | target: http://localhost:8088

2021-10-06 22:43:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-06 22:43:09 | entity: <data><node>node_wry7qs0203</node><expire-at>2021-10-07T05:43:14Z</expire-at><entry><content>content_wzbuuc0207</content></entry></data>

2021-10-06 22:43:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:43:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:43:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a0e4f0a6-ec09-4b38-9f5d-e7b899be509c</value></item-id></result>

2021-10-06 22:43:09 | contains: true

2021-10-06 22:43:17 | [Mutex] waiting for: [user_regular17vu8f0202@test-domain.com:message:received:content_wzbuuc0207]

2021-10-06 22:43:32 | [Mutex] timeout. Not received [user_regular17vu8f0202@test-domain.com:message:received:content_wzbuuc0207]

2021-10-06 22:43:32 | [Mutex] received everything.

2021-10-06 22:43:32 | [Mutex] isItemNotified: user_regular17vu8f0202@test-domain.com:message:received:content_wzbuuc0207 :: false

2021-10-06 22:43:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wzbuuc0207 :: true