Generated by TestNG with ReportNG at 22:22 PDT on Thursday 25 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.517s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.678s
2021-03-25 22:38:59 |

2021-03-25 22:38:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-25 22:38:59 | ------------------------------------

2021-03-25 22:38:59 | [Mutex] isItemNotified: node_l29kj10203:exists :: false

2021-03-25 22:38:59 | [Mutex] waiting for: [node_l29kj10203:create_node]

2021-03-25 22:38:59 | [Mutex] received everything.

2021-03-25 22:38:59 | [Mutex] isItemNotified: node_l29kj10203:create_node:success :: true

2021-03-25 22:38:59 | [Mutex] waiting for: [node_l29kj10203:subscribe_node]

2021-03-25 22:38:59 | [Mutex] waiting for: [node_l29kj10203:subscribe_node]

2021-03-25 22:38:59 | [Mutex] received everything.

2021-03-25 22:38:59 | [Mutex] isItemNotified: node_l29kj10203:subscribe_node:success :: true

2021-03-25 22:38:59 |


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


2021-03-25 22:38:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 22:38:59 | command: <data><node>node_l29kj10203</node><entry><content>content_x5sul00204</content></entry></data>

2021-03-25 22:38:59 | target: http://localhost:8088

2021-03-25 22:38:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-25 22:38:59 | entity: <data><node>node_l29kj10203</node><entry><content>content_x5sul00204</content></entry></data>

2021-03-25 22:38:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 05:38:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 22:38:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>43249c5c-f9d5-4517-966d-b7915e162026</value></item-id></result>

2021-03-25 22:38:59 | contains: true

2021-03-25 22:38:59 | [Mutex] received everything.

2021-03-25 22:38:59 | [Mutex] isItemNotified: user_regulart6abqq0202@test-domain.com:message:received:content_x5sul00204 :: true

2021-03-25 22:38:59 |


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


2021-03-25 22:38:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 22:38:59 | command: <data><node>node_l29kj10203</node><expire-at>2021-03-26T05:38:54Z</expire-at><entry><content>content_p86llc0205</content></entry></data>

2021-03-25 22:38:59 | target: http://localhost:8088

2021-03-25 22:38:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-25 22:38:59 | entity: <data><node>node_l29kj10203</node><expire-at>2021-03-26T05:38:54Z</expire-at><entry><content>content_p86llc0205</content></entry></data>

2021-03-25 22:38:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 05:38:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 22:38:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>09e183be-a7ea-45af-b9a8-fa0cce8cb90e</value></item-id></result>

2021-03-25 22:38:59 | contains: true

2021-03-25 22:38:59 | [Mutex] waiting for: [user_regulart6abqq0202@test-domain.com:message:received:content_p86llc0205]

2021-03-25 22:39:14 | [Mutex] timeout. Not received [user_regulart6abqq0202@test-domain.com:message:received:content_p86llc0205]

2021-03-25 22:39:14 | [Mutex] isItemNotified: user_regulart6abqq0202@test-domain.com:message:received:content_p86llc0205 :: false

2021-03-25 22:39:14 |


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


2021-03-25 22:39:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 22:39:14 | command: <data><node>node_l29kj10203</node><entry><content>content_yy12a0206</content></entry></data>

2021-03-25 22:39:14 | target: http://localhost:8088

2021-03-25 22:39:14 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-03-25 22:39:14 | entity: <data><node>node_l29kj10203</node><entry><content>content_yy12a0206</content></entry></data>

2021-03-25 22:39:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 05:39:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 22:39:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>10dfdf8f-eb5e-4fcb-bc1c-c3fc6757b00f</value></item-id></result>

2021-03-25 22:39:14 | contains: true

2021-03-25 22:39:19 | [Mutex] waiting for: [user_regulart6abqq0202@test-domain.com:message:received:content_yy12a0206]

2021-03-25 22:39:19 | [Mutex] waiting for: [user_regulart6abqq0202@test-domain.com:message:received:content_yy12a0206]

2021-03-25 22:39:19 | [Mutex] received everything.

2021-03-25 22:39:19 | [Mutex] isItemNotified: user_regulart6abqq0202@test-domain.com:message:received:content_yy12a0206 :: true

2021-03-25 22:39:19 |


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


2021-03-25 22:39:19 | [Mutex] received everything.

2021-03-25 22:39:19 | [Mutex] isItemNotified: node_l29kj10203:subscribe_node:success :: true

2021-03-25 22:39:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 22:39:19 | command: <data><node>node_l29kj10203</node><expire-at>2021-03-26T05:39:24Z</expire-at><entry><content>content_mimd8g0207</content></entry></data>

2021-03-25 22:39:19 | target: http://localhost:8088

2021-03-25 22:39:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-25 22:39:19 | entity: <data><node>node_l29kj10203</node><expire-at>2021-03-26T05:39:24Z</expire-at><entry><content>content_mimd8g0207</content></entry></data>

2021-03-25 22:39:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 05:39:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 22:39:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f40cb1e6-0846-4da5-a09b-30a106d8a30a</value></item-id></result>

2021-03-25 22:39:19 | contains: true

2021-03-25 22:39:28 | [Mutex] waiting for: [user_regulart6abqq0202@test-domain.com:message:received:content_mimd8g0207]

2021-03-25 22:39:28 | [Mutex] waiting for: [user_regulart6abqq0202@test-domain.com:message:received:content_mimd8g0207]

2021-03-25 22:39:43 | [Mutex] timeout. Not received [user_regulart6abqq0202@test-domain.com:message:received:content_mimd8g0207]

2021-03-25 22:39:43 | [Mutex] received everything.

2021-03-25 22:39:43 | [Mutex] isItemNotified: user_regulart6abqq0202@test-domain.com:message:received:content_mimd8g0207 :: false

2021-03-25 22:39:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mimd8g0207 :: true