Generated by TestNG with ReportNG at 22:42 PDT on Thursday 08 October 2020
root@87f6aca6b6f2 / 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 : 46.361s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 44.005s
2020-10-08 22:59:31 |

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

2020-10-08 22:59:31 | ------------------------------------

2020-10-08 22:59:31 | [Mutex] isItemNotified: node_23bsjv0203:exists :: false

2020-10-08 22:59:31 | [Mutex] waiting for: [node_23bsjv0203:create_node]

2020-10-08 22:59:31 | [Mutex] received everything.

2020-10-08 22:59:31 | [Mutex] isItemNotified: node_23bsjv0203:create_node:success :: true

2020-10-08 22:59:31 | [Mutex] waiting for: [node_23bsjv0203:subscribe_node]

2020-10-08 22:59:31 | [Mutex] received everything.

2020-10-08 22:59:31 | [Mutex] isItemNotified: node_23bsjv0203:subscribe_node:success :: true

2020-10-08 22:59:31 |


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


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

2020-10-08 22:59:31 | command: <data><node>node_23bsjv0203</node><entry><content>content_io5b180204</content></entry></data>

2020-10-08 22:59:31 | target: http://localhost:8088

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

2020-10-08 22:59:31 | entity: <data><node>node_23bsjv0203</node><entry><content>content_io5b180204</content></entry></data>

2020-10-08 22:59:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:59:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-08 22:59:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>13a7004f-c2d0-4d39-97c5-c50b26842139</value></item-id></result>

2020-10-08 22:59:31 | contains: true

2020-10-08 22:59:31 | [Mutex] waiting for: [user_regularct8r1u0202@test-domain.com:message:received:content_io5b180204]

2020-10-08 22:59:31 | [Mutex] received everything.

2020-10-08 22:59:31 | [Mutex] isItemNotified: user_regularct8r1u0202@test-domain.com:message:received:content_io5b180204 :: true

2020-10-08 22:59:31 |


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


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

2020-10-08 22:59:31 | command: <data><node>node_23bsjv0203</node><expire-at>2020-10-09T05:59:26Z</expire-at><entry><content>content_wt9hmt0205</content></entry></data>

2020-10-08 22:59:31 | target: http://localhost:8088

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

2020-10-08 22:59:31 | entity: <data><node>node_23bsjv0203</node><expire-at>2020-10-09T05:59:26Z</expire-at><entry><content>content_wt9hmt0205</content></entry></data>

2020-10-08 22:59:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:59:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-08 22:59:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d486ae13-6034-40f5-97d7-dd113778069f</value></item-id></result>

2020-10-08 22:59:31 | contains: true

2020-10-08 22:59:31 | [Mutex] waiting for: [user_regularct8r1u0202@test-domain.com:message:received:content_wt9hmt0205]

2020-10-08 22:59:46 | [Mutex] timeout. Not received [user_regularct8r1u0202@test-domain.com:message:received:content_wt9hmt0205]

2020-10-08 22:59:46 | [Mutex] isItemNotified: user_regularct8r1u0202@test-domain.com:message:received:content_wt9hmt0205 :: false

2020-10-08 22:59:46 |


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


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

2020-10-08 22:59:46 | command: <data><node>node_23bsjv0203</node><entry><content>content_t2yi4i0206</content></entry></data>

2020-10-08 22:59:46 | target: http://localhost:8088

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

2020-10-08 22:59:46 | entity: <data><node>node_23bsjv0203</node><entry><content>content_t2yi4i0206</content></entry></data>

2020-10-08 22:59:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:59:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-08 22:59:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a5630ba-808e-4d23-9808-30a183c65a31</value></item-id></result>

2020-10-08 22:59:46 | contains: true

2020-10-08 22:59:51 | [Mutex] waiting for: [user_regularct8r1u0202@test-domain.com:message:received:content_t2yi4i0206]

2020-10-08 22:59:51 | [Mutex] waiting for: [user_regularct8r1u0202@test-domain.com:message:received:content_t2yi4i0206]

2020-10-08 22:59:51 | [Mutex] received everything.

2020-10-08 22:59:51 | [Mutex] isItemNotified: user_regularct8r1u0202@test-domain.com:message:received:content_t2yi4i0206 :: true

2020-10-08 22:59:51 |


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


2020-10-08 22:59:51 | [Mutex] received everything.

2020-10-08 22:59:51 | [Mutex] isItemNotified: node_23bsjv0203:subscribe_node:success :: true

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

2020-10-08 22:59:51 | command: <data><node>node_23bsjv0203</node><expire-at>2020-10-09T05:59:56Z</expire-at><entry><content>content_qmkfa80207</content></entry></data>

2020-10-08 22:59:51 | target: http://localhost:8088

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

2020-10-08 22:59:51 | entity: <data><node>node_23bsjv0203</node><expire-at>2020-10-09T05:59:56Z</expire-at><entry><content>content_qmkfa80207</content></entry></data>

2020-10-08 22:59:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:59:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-08 22:59:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1ab2241a-b226-4570-ac17-69d6812c5a1a</value></item-id></result>

2020-10-08 22:59:51 | contains: true

2020-10-08 23:00:00 | [Mutex] waiting for: [user_regularct8r1u0202@test-domain.com:message:received:content_qmkfa80207]

2020-10-08 23:00:00 | [Mutex] waiting for: [user_regularct8r1u0202@test-domain.com:message:received:content_qmkfa80207]

2020-10-08 23:00:15 | [Mutex] timeout. Not received [user_regularct8r1u0202@test-domain.com:message:received:content_qmkfa80207]

2020-10-08 23:00:15 | [Mutex] received everything.

2020-10-08 23:00:15 | [Mutex] isItemNotified: user_regularct8r1u0202@test-domain.com:message:received:content_qmkfa80207 :: false

2020-10-08 23:00:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qmkfa80207 :: true