Generated by TestNG with ReportNG at 21:40 PST on Wednesday 27 January 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.470s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.721s
2021-01-27 22:03:29 |

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

2021-01-27 22:03:29 | ------------------------------------

2021-01-27 22:03:29 | [Mutex] isItemNotified: node_buagkp0203:exists :: false

2021-01-27 22:03:29 | [Mutex] waiting for: [node_buagkp0203:create_node]

2021-01-27 22:03:29 | [Mutex] received everything.

2021-01-27 22:03:29 | [Mutex] isItemNotified: node_buagkp0203:create_node:success :: true

2021-01-27 22:03:29 | [Mutex] waiting for: [node_buagkp0203:subscribe_node]

2021-01-27 22:03:29 | [Mutex] received everything.

2021-01-27 22:03:29 | [Mutex] isItemNotified: node_buagkp0203:subscribe_node:success :: true

2021-01-27 22:03:29 |


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


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

2021-01-27 22:03:29 | command: <data><node>node_buagkp0203</node><entry><content>content_el5plh0204</content></entry></data>

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

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

2021-01-27 22:03:29 | entity: <data><node>node_buagkp0203</node><entry><content>content_el5plh0204</content></entry></data>

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

2021-01-27 22:03:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>82432d65-4241-40f3-8f06-0a78c8633d66</value></item-id></result>

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

2021-01-27 22:03:29 | [Mutex] waiting for: [user_regular7darzd0202@test-domain.com:message:received:content_el5plh0204]

2021-01-27 22:03:29 | [Mutex] received everything.

2021-01-27 22:03:29 | [Mutex] isItemNotified: user_regular7darzd0202@test-domain.com:message:received:content_el5plh0204 :: true

2021-01-27 22:03:29 |


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


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

2021-01-27 22:03:29 | command: <data><node>node_buagkp0203</node><expire-at>2021-01-28T06:03:24Z</expire-at><entry><content>content_lvgt4q0205</content></entry></data>

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

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

2021-01-27 22:03:29 | entity: <data><node>node_buagkp0203</node><expire-at>2021-01-28T06:03:24Z</expire-at><entry><content>content_lvgt4q0205</content></entry></data>

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

2021-01-27 22:03:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>90da381a-3057-4ffb-bfac-c2e2c1670cc9</value></item-id></result>

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

2021-01-27 22:03:29 | [Mutex] waiting for: [user_regular7darzd0202@test-domain.com:message:received:content_lvgt4q0205]

2021-01-27 22:03:44 | [Mutex] timeout. Not received [user_regular7darzd0202@test-domain.com:message:received:content_lvgt4q0205]

2021-01-27 22:03:44 | [Mutex] isItemNotified: user_regular7darzd0202@test-domain.com:message:received:content_lvgt4q0205 :: false

2021-01-27 22:03:44 |


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


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

2021-01-27 22:03:44 | command: <data><node>node_buagkp0203</node><entry><content>content_aii5gu0206</content></entry></data>

2021-01-27 22:03:44 | target: http://localhost:8088

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

2021-01-27 22:03:44 | entity: <data><node>node_buagkp0203</node><entry><content>content_aii5gu0206</content></entry></data>

2021-01-27 22:03:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 06:03:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 22:03:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8464722d-6247-4a78-8967-663f9efd3c6b</value></item-id></result>

2021-01-27 22:03:44 | contains: true

2021-01-27 22:03:49 | [Mutex] waiting for: [user_regular7darzd0202@test-domain.com:message:received:content_aii5gu0206]

2021-01-27 22:03:49 | [Mutex] received everything.

2021-01-27 22:03:49 | [Mutex] isItemNotified: user_regular7darzd0202@test-domain.com:message:received:content_aii5gu0206 :: true

2021-01-27 22:03:49 |


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


2021-01-27 22:03:49 | [Mutex] received everything.

2021-01-27 22:03:49 | [Mutex] isItemNotified: node_buagkp0203:subscribe_node:success :: true

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

2021-01-27 22:03:49 | command: <data><node>node_buagkp0203</node><expire-at>2021-01-28T06:03:54Z</expire-at><entry><content>content_taajn70207</content></entry></data>

2021-01-27 22:03:49 | target: http://localhost:8088

2021-01-27 22:03:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-27 22:03:49 | entity: <data><node>node_buagkp0203</node><expire-at>2021-01-28T06:03:54Z</expire-at><entry><content>content_taajn70207</content></entry></data>

2021-01-27 22:03:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 06:03:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 22:03:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a65b1ccc-d8f0-438e-a944-b5ae026dd749</value></item-id></result>

2021-01-27 22:03:49 | contains: true

2021-01-27 22:03:57 | [Mutex] waiting for: [user_regular7darzd0202@test-domain.com:message:received:content_taajn70207]

2021-01-27 22:04:12 | [Mutex] timeout. Not received [user_regular7darzd0202@test-domain.com:message:received:content_taajn70207]

2021-01-27 22:04:12 | [Mutex] received everything.

2021-01-27 22:04:12 | [Mutex] isItemNotified: user_regular7darzd0202@test-domain.com:message:received:content_taajn70207 :: false

2021-01-27 22:04:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_taajn70207 :: true