Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 31 March 2021
root@43fec6d4badf / 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.875s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.735s
2021-03-31 22:29:12 |

2021-03-31 22:29:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-31 22:29:12 | ------------------------------------

2021-03-31 22:29:12 | [Mutex] isItemNotified: node_tnpa3o0203:exists :: false

2021-03-31 22:29:12 | [Mutex] waiting for: [node_tnpa3o0203:create_node]

2021-03-31 22:29:12 | [Mutex] received everything.

2021-03-31 22:29:12 | [Mutex] isItemNotified: node_tnpa3o0203:create_node:success :: true

2021-03-31 22:29:12 | [Mutex] waiting for: [node_tnpa3o0203:subscribe_node]

2021-03-31 22:29:12 | [Mutex] received everything.

2021-03-31 22:29:12 | [Mutex] isItemNotified: node_tnpa3o0203:subscribe_node:success :: true

2021-03-31 22:29:12 |


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


2021-03-31 22:29:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 22:29:12 | command: <data><node>node_tnpa3o0203</node><entry><content>content_7wknii0204</content></entry></data>

2021-03-31 22:29:12 | target: http://localhost:8088

2021-03-31 22:29:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-31 22:29:12 | entity: <data><node>node_tnpa3o0203</node><entry><content>content_7wknii0204</content></entry></data>

2021-03-31 22:29:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:29:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 22:29:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fe79ae53-8813-4e8b-bb2a-1da1a65cb51d</value></item-id></result>

2021-03-31 22:29:12 | contains: true

2021-03-31 22:29:12 | [Mutex] waiting for: [user_regularmttbys0202@test-domain.com:message:received:content_7wknii0204]

2021-03-31 22:29:12 | [Mutex] received everything.

2021-03-31 22:29:12 | [Mutex] isItemNotified: user_regularmttbys0202@test-domain.com:message:received:content_7wknii0204 :: true

2021-03-31 22:29:12 |


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


2021-03-31 22:29:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 22:29:12 | command: <data><node>node_tnpa3o0203</node><expire-at>2021-04-01T05:29:07Z</expire-at><entry><content>content_1hbpwt0205</content></entry></data>

2021-03-31 22:29:12 | target: http://localhost:8088

2021-03-31 22:29:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-31 22:29:12 | entity: <data><node>node_tnpa3o0203</node><expire-at>2021-04-01T05:29:07Z</expire-at><entry><content>content_1hbpwt0205</content></entry></data>

2021-03-31 22:29:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:29:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 22:29:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c2f2a723-47cb-497d-ac8b-92de83d9bf33</value></item-id></result>

2021-03-31 22:29:12 | contains: true

2021-03-31 22:29:12 | [Mutex] waiting for: [user_regularmttbys0202@test-domain.com:message:received:content_1hbpwt0205]

2021-03-31 22:29:27 | [Mutex] timeout. Not received [user_regularmttbys0202@test-domain.com:message:received:content_1hbpwt0205]

2021-03-31 22:29:27 | [Mutex] isItemNotified: user_regularmttbys0202@test-domain.com:message:received:content_1hbpwt0205 :: false

2021-03-31 22:29:27 |


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


2021-03-31 22:29:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 22:29:27 | command: <data><node>node_tnpa3o0203</node><entry><content>content_wfbbuv0206</content></entry></data>

2021-03-31 22:29:27 | target: http://localhost:8088

2021-03-31 22:29:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-31 22:29:27 | entity: <data><node>node_tnpa3o0203</node><entry><content>content_wfbbuv0206</content></entry></data>

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

2021-03-31 22:29:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3dc09d75-8090-4a1f-a481-3e9a70be320e</value></item-id></result>

2021-03-31 22:29:27 | contains: true

2021-03-31 22:29:33 | [Mutex] waiting for: [user_regularmttbys0202@test-domain.com:message:received:content_wfbbuv0206]

2021-03-31 22:29:33 | [Mutex] received everything.

2021-03-31 22:29:33 | [Mutex] isItemNotified: user_regularmttbys0202@test-domain.com:message:received:content_wfbbuv0206 :: true

2021-03-31 22:29:33 |


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


2021-03-31 22:29:33 | [Mutex] received everything.

2021-03-31 22:29:33 | [Mutex] isItemNotified: node_tnpa3o0203:subscribe_node:success :: true

2021-03-31 22:29:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 22:29:33 | command: <data><node>node_tnpa3o0203</node><expire-at>2021-04-01T05:29:38Z</expire-at><entry><content>content_3biikx0207</content></entry></data>

2021-03-31 22:29:33 | target: http://localhost:8088

2021-03-31 22:29:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-31 22:29:33 | entity: <data><node>node_tnpa3o0203</node><expire-at>2021-04-01T05:29:38Z</expire-at><entry><content>content_3biikx0207</content></entry></data>

2021-03-31 22:29:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:29:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 22:29:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>afcf278f-401b-4298-990e-0bf39b358435</value></item-id></result>

2021-03-31 22:29:33 | contains: true

2021-03-31 22:29:41 | [Mutex] waiting for: [user_regularmttbys0202@test-domain.com:message:received:content_3biikx0207]

2021-03-31 22:29:56 | [Mutex] timeout. Not received [user_regularmttbys0202@test-domain.com:message:received:content_3biikx0207]

2021-03-31 22:29:56 | [Mutex] received everything.

2021-03-31 22:29:56 | [Mutex] isItemNotified: user_regularmttbys0202@test-domain.com:message:received:content_3biikx0207 :: false

2021-03-31 22:29:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3biikx0207 :: true