Generated by TestNG with ReportNG at 22:18 PDT on Wednesday 26 May 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 : 44.920s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.537s
2021-05-26 22:33:46 |

2021-05-26 22:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-26 22:33:46 | ------------------------------------

2021-05-26 22:33:46 | [Mutex] isItemNotified: node_tlpc1p0203:exists :: false

2021-05-26 22:33:46 | [Mutex] waiting for: [node_tlpc1p0203:create_node]

2021-05-26 22:33:46 | [Mutex] received everything.

2021-05-26 22:33:46 | [Mutex] isItemNotified: node_tlpc1p0203:create_node:success :: true

2021-05-26 22:33:46 | [Mutex] waiting for: [node_tlpc1p0203:subscribe_node]

2021-05-26 22:33:46 | [Mutex] waiting for: [node_tlpc1p0203:subscribe_node]

2021-05-26 22:33:46 | [Mutex] received everything.

2021-05-26 22:33:46 | [Mutex] isItemNotified: node_tlpc1p0203:subscribe_node:success :: true

2021-05-26 22:33:46 |


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


2021-05-26 22:33:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 22:33:46 | command: <data><node>node_tlpc1p0203</node><entry><content>content_vkwyco0204</content></entry></data>

2021-05-26 22:33:46 | target: http://localhost:8088

2021-05-26 22:33:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-26 22:33:46 | entity: <data><node>node_tlpc1p0203</node><entry><content>content_vkwyco0204</content></entry></data>

2021-05-26 22:33:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 05:33:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 22:33:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3f2d9e7c-fd92-4046-81fd-22474d808cee</value></item-id></result>

2021-05-26 22:33:46 | contains: true

2021-05-26 22:33:46 | [Mutex] received everything.

2021-05-26 22:33:46 | [Mutex] isItemNotified: user_regulareqpbdi0202@test-domain.com:message:received:content_vkwyco0204 :: true

2021-05-26 22:33:46 |


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


2021-05-26 22:33:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 22:33:46 | command: <data><node>node_tlpc1p0203</node><expire-at>2021-05-27T05:33:41Z</expire-at><entry><content>content_5m28v0205</content></entry></data>

2021-05-26 22:33:46 | target: http://localhost:8088

2021-05-26 22:33:46 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-05-26 22:33:46 | entity: <data><node>node_tlpc1p0203</node><expire-at>2021-05-27T05:33:41Z</expire-at><entry><content>content_5m28v0205</content></entry></data>

2021-05-26 22:33:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 05:33:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 22:33:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d1bc629d-c38e-4654-8d4a-92a098c404f2</value></item-id></result>

2021-05-26 22:33:46 | contains: true

2021-05-26 22:33:46 | [Mutex] waiting for: [user_regulareqpbdi0202@test-domain.com:message:received:content_5m28v0205]

2021-05-26 22:34:01 | [Mutex] timeout. Not received [user_regulareqpbdi0202@test-domain.com:message:received:content_5m28v0205]

2021-05-26 22:34:01 | [Mutex] isItemNotified: user_regulareqpbdi0202@test-domain.com:message:received:content_5m28v0205 :: false

2021-05-26 22:34:01 |


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


2021-05-26 22:34:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 22:34:01 | command: <data><node>node_tlpc1p0203</node><entry><content>content_3rtpic0206</content></entry></data>

2021-05-26 22:34:01 | target: http://localhost:8088

2021-05-26 22:34:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-26 22:34:01 | entity: <data><node>node_tlpc1p0203</node><entry><content>content_3rtpic0206</content></entry></data>

2021-05-26 22:34:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 05:34:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 22:34:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f77fc3e9-b6ee-4525-b7f7-7b5d900471f1</value></item-id></result>

2021-05-26 22:34:01 | contains: true

2021-05-26 22:34:06 | [Mutex] waiting for: [user_regulareqpbdi0202@test-domain.com:message:received:content_3rtpic0206]

2021-05-26 22:34:06 | [Mutex] waiting for: [user_regulareqpbdi0202@test-domain.com:message:received:content_3rtpic0206]

2021-05-26 22:34:06 | [Mutex] received everything.

2021-05-26 22:34:06 | [Mutex] isItemNotified: user_regulareqpbdi0202@test-domain.com:message:received:content_3rtpic0206 :: true

2021-05-26 22:34:06 |


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


2021-05-26 22:34:06 | [Mutex] received everything.

2021-05-26 22:34:06 | [Mutex] isItemNotified: node_tlpc1p0203:subscribe_node:success :: true

2021-05-26 22:34:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 22:34:06 | command: <data><node>node_tlpc1p0203</node><expire-at>2021-05-27T05:34:11Z</expire-at><entry><content>content_mmxapc0207</content></entry></data>

2021-05-26 22:34:06 | target: http://localhost:8088

2021-05-26 22:34:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-26 22:34:06 | entity: <data><node>node_tlpc1p0203</node><expire-at>2021-05-27T05:34:11Z</expire-at><entry><content>content_mmxapc0207</content></entry></data>

2021-05-26 22:34:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 05:34:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 22:34:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7168937d-8e6a-4354-ba35-524e3ef65534</value></item-id></result>

2021-05-26 22:34:06 | contains: true

2021-05-26 22:34:14 | [Mutex] waiting for: [user_regulareqpbdi0202@test-domain.com:message:received:content_mmxapc0207]

2021-05-26 22:34:14 | [Mutex] waiting for: [user_regulareqpbdi0202@test-domain.com:message:received:content_mmxapc0207]

2021-05-26 22:34:14 | [Mutex] waiting for: [user_regulareqpbdi0202@test-domain.com:message:received:content_mmxapc0207]

2021-05-26 22:34:29 | [Mutex] timeout. Not received [user_regulareqpbdi0202@test-domain.com:message:received:content_mmxapc0207]

2021-05-26 22:34:29 | [Mutex] received everything.

2021-05-26 22:34:29 | [Mutex] isItemNotified: user_regulareqpbdi0202@test-domain.com:message:received:content_mmxapc0207 :: false

2021-05-26 22:34:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mmxapc0207 :: true