Generated by TestNG with ReportNG at 22:42 PDT on Thursday 24 June 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.052s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.689s
2021-06-24 22:58:59 |

2021-06-24 22:58:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-24 22:58:59 | ------------------------------------

2021-06-24 22:58:59 | [Mutex] isItemNotified: node_vx27bt0203:exists :: false

2021-06-24 22:58:59 | [Mutex] waiting for: [node_vx27bt0203:create_node]

2021-06-24 22:58:59 | [Mutex] received everything.

2021-06-24 22:58:59 | [Mutex] isItemNotified: node_vx27bt0203:create_node:success :: true

2021-06-24 22:58:59 | [Mutex] waiting for: [node_vx27bt0203:subscribe_node]

2021-06-24 22:58:59 | [Mutex] received everything.

2021-06-24 22:58:59 | [Mutex] isItemNotified: node_vx27bt0203:subscribe_node:success :: true

2021-06-24 22:58:59 |


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


2021-06-24 22:58:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:58:59 | command: <data><node>node_vx27bt0203</node><entry><content>content_3358kl0204</content></entry></data>

2021-06-24 22:58:59 | target: http://localhost:8088

2021-06-24 22:58:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-24 22:58:59 | entity: <data><node>node_vx27bt0203</node><entry><content>content_3358kl0204</content></entry></data>

2021-06-24 22:58:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:58:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:58:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a8dadd6-6273-41a0-be8a-22813309f427</value></item-id></result>

2021-06-24 22:58:59 | contains: true

2021-06-24 22:58:59 | [Mutex] received everything.

2021-06-24 22:58:59 | [Mutex] isItemNotified: user_regularatd4lo0202@test-domain.com:message:received:content_3358kl0204 :: true

2021-06-24 22:58:59 |


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


2021-06-24 22:58:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:58:59 | command: <data><node>node_vx27bt0203</node><expire-at>2021-06-25T05:58:54Z</expire-at><entry><content>content_vn0tz80205</content></entry></data>

2021-06-24 22:58:59 | target: http://localhost:8088

2021-06-24 22:58:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-24 22:58:59 | entity: <data><node>node_vx27bt0203</node><expire-at>2021-06-25T05:58:54Z</expire-at><entry><content>content_vn0tz80205</content></entry></data>

2021-06-24 22:58:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:58:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:58:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>93430a4b-8d2e-4528-a45c-ced1fba88796</value></item-id></result>

2021-06-24 22:58:59 | contains: true

2021-06-24 22:58:59 | [Mutex] waiting for: [user_regularatd4lo0202@test-domain.com:message:received:content_vn0tz80205]

2021-06-24 22:59:14 | [Mutex] timeout. Not received [user_regularatd4lo0202@test-domain.com:message:received:content_vn0tz80205]

2021-06-24 22:59:14 | [Mutex] isItemNotified: user_regularatd4lo0202@test-domain.com:message:received:content_vn0tz80205 :: false

2021-06-24 22:59:14 |


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


2021-06-24 22:59:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:59:14 | command: <data><node>node_vx27bt0203</node><entry><content>content_sy0p0l0206</content></entry></data>

2021-06-24 22:59:14 | target: http://localhost:8088

2021-06-24 22:59:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-24 22:59:14 | entity: <data><node>node_vx27bt0203</node><entry><content>content_sy0p0l0206</content></entry></data>

2021-06-24 22:59:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:59:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:59:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1dc3080e-4532-4faa-a265-0c10731c96a0</value></item-id></result>

2021-06-24 22:59:14 | contains: true

2021-06-24 22:59:20 | [Mutex] waiting for: [user_regularatd4lo0202@test-domain.com:message:received:content_sy0p0l0206]

2021-06-24 22:59:20 | [Mutex] received everything.

2021-06-24 22:59:20 | [Mutex] isItemNotified: user_regularatd4lo0202@test-domain.com:message:received:content_sy0p0l0206 :: true

2021-06-24 22:59:20 |


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


2021-06-24 22:59:20 | [Mutex] received everything.

2021-06-24 22:59:20 | [Mutex] isItemNotified: node_vx27bt0203:subscribe_node:success :: true

2021-06-24 22:59:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:59:20 | command: <data><node>node_vx27bt0203</node><expire-at>2021-06-25T05:59:25Z</expire-at><entry><content>content_1yqgux0207</content></entry></data>

2021-06-24 22:59:20 | target: http://localhost:8088

2021-06-24 22:59:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-24 22:59:20 | entity: <data><node>node_vx27bt0203</node><expire-at>2021-06-25T05:59:25Z</expire-at><entry><content>content_1yqgux0207</content></entry></data>

2021-06-24 22:59:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:59:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:59:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a0a42982-6739-4c6e-864f-56c74a46388c</value></item-id></result>

2021-06-24 22:59:20 | contains: true

2021-06-24 22:59:28 | [Mutex] waiting for: [user_regularatd4lo0202@test-domain.com:message:received:content_1yqgux0207]

2021-06-24 22:59:43 | [Mutex] timeout. Not received [user_regularatd4lo0202@test-domain.com:message:received:content_1yqgux0207]

2021-06-24 22:59:43 | [Mutex] received everything.

2021-06-24 22:59:43 | [Mutex] isItemNotified: user_regularatd4lo0202@test-domain.com:message:received:content_1yqgux0207 :: false

2021-06-24 22:59:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1yqgux0207 :: true