Generated by TestNG with ReportNG at 22:51 PDT on Thursday 18 March 2021
root@eaa73862192b / 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.405s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.705s
2021-03-18 23:07:28 |

2021-03-18 23:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-18 23:07:28 | ------------------------------------

2021-03-18 23:07:28 | [Mutex] isItemNotified: node_dsjob50203:exists :: false

2021-03-18 23:07:28 | [Mutex] waiting for: [node_dsjob50203:create_node]

2021-03-18 23:07:28 | [Mutex] received everything.

2021-03-18 23:07:28 | [Mutex] isItemNotified: node_dsjob50203:create_node:success :: true

2021-03-18 23:07:28 | [Mutex] waiting for: [node_dsjob50203:subscribe_node]

2021-03-18 23:07:28 | [Mutex] received everything.

2021-03-18 23:07:28 | [Mutex] isItemNotified: node_dsjob50203:subscribe_node:success :: true

2021-03-18 23:07:28 |


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


2021-03-18 23:07:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 23:07:28 | command: <data><node>node_dsjob50203</node><entry><content>content_ua2t430204</content></entry></data>

2021-03-18 23:07:28 | target: http://localhost:8088

2021-03-18 23:07:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-18 23:07:28 | entity: <data><node>node_dsjob50203</node><entry><content>content_ua2t430204</content></entry></data>

2021-03-18 23:07:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 06:07:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 23:07:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f4758eba-4c14-400a-9156-3bcb94d654bb</value></item-id></result>

2021-03-18 23:07:28 | contains: true

2021-03-18 23:07:28 | [Mutex] received everything.

2021-03-18 23:07:28 | [Mutex] isItemNotified: user_regular5x76z30202@test-domain.com:message:received:content_ua2t430204 :: true

2021-03-18 23:07:28 |


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


2021-03-18 23:07:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 23:07:28 | command: <data><node>node_dsjob50203</node><expire-at>2021-03-19T06:07:23Z</expire-at><entry><content>content_93xq8b0205</content></entry></data>

2021-03-18 23:07:28 | target: http://localhost:8088

2021-03-18 23:07:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-18 23:07:28 | entity: <data><node>node_dsjob50203</node><expire-at>2021-03-19T06:07:23Z</expire-at><entry><content>content_93xq8b0205</content></entry></data>

2021-03-18 23:07:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 06:07:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 23:07:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0c0d5936-8359-4fce-aae4-996c881f2d4d</value></item-id></result>

2021-03-18 23:07:28 | contains: true

2021-03-18 23:07:28 | [Mutex] waiting for: [user_regular5x76z30202@test-domain.com:message:received:content_93xq8b0205]

2021-03-18 23:07:43 | [Mutex] timeout. Not received [user_regular5x76z30202@test-domain.com:message:received:content_93xq8b0205]

2021-03-18 23:07:43 | [Mutex] isItemNotified: user_regular5x76z30202@test-domain.com:message:received:content_93xq8b0205 :: false

2021-03-18 23:07:43 |


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


2021-03-18 23:07:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 23:07:43 | command: <data><node>node_dsjob50203</node><entry><content>content_2mpeqc0206</content></entry></data>

2021-03-18 23:07:43 | target: http://localhost:8088

2021-03-18 23:07:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-18 23:07:43 | entity: <data><node>node_dsjob50203</node><entry><content>content_2mpeqc0206</content></entry></data>

2021-03-18 23:07:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 06:07:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 23:07:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4d4d61de-33e2-4f78-a83d-239f16c23533</value></item-id></result>

2021-03-18 23:07:43 | contains: true

2021-03-18 23:07:48 | [Mutex] waiting for: [user_regular5x76z30202@test-domain.com:message:received:content_2mpeqc0206]

2021-03-18 23:07:48 | [Mutex] received everything.

2021-03-18 23:07:48 | [Mutex] isItemNotified: user_regular5x76z30202@test-domain.com:message:received:content_2mpeqc0206 :: true

2021-03-18 23:07:48 |


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


2021-03-18 23:07:48 | [Mutex] received everything.

2021-03-18 23:07:48 | [Mutex] isItemNotified: node_dsjob50203:subscribe_node:success :: true

2021-03-18 23:07:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 23:07:48 | command: <data><node>node_dsjob50203</node><expire-at>2021-03-19T06:07:53Z</expire-at><entry><content>content_nn32n20207</content></entry></data>

2021-03-18 23:07:48 | target: http://localhost:8088

2021-03-18 23:07:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-18 23:07:48 | entity: <data><node>node_dsjob50203</node><expire-at>2021-03-19T06:07:53Z</expire-at><entry><content>content_nn32n20207</content></entry></data>

2021-03-18 23:07:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 06:07:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 23:07:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>68d104d1-695f-43ad-a6ef-b170b54886f9</value></item-id></result>

2021-03-18 23:07:48 | contains: true

2021-03-18 23:07:57 | [Mutex] waiting for: [user_regular5x76z30202@test-domain.com:message:received:content_nn32n20207]

2021-03-18 23:08:12 | [Mutex] timeout. Not received [user_regular5x76z30202@test-domain.com:message:received:content_nn32n20207]

2021-03-18 23:08:12 | [Mutex] received everything.

2021-03-18 23:08:12 | [Mutex] isItemNotified: user_regular5x76z30202@test-domain.com:message:received:content_nn32n20207 :: false

2021-03-18 23:08:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nn32n20207 :: true