Generated by TestNG with ReportNG at 22:43 PDT on Thursday 17 June 2021
root@785cf647a4ab / 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.576s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.722s
2021-06-17 22:58:42 |

2021-06-17 22:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-17 22:58:42 | ------------------------------------

2021-06-17 22:58:42 | [Mutex] isItemNotified: node_elur250203:exists :: false

2021-06-17 22:58:42 | [Mutex] waiting for: [node_elur250203:create_node]

2021-06-17 22:58:42 | [Mutex] received everything.

2021-06-17 22:58:42 | [Mutex] isItemNotified: node_elur250203:create_node:success :: true

2021-06-17 22:58:42 | [Mutex] waiting for: [node_elur250203:subscribe_node]

2021-06-17 22:58:42 | [Mutex] waiting for: [node_elur250203:subscribe_node]

2021-06-17 22:58:42 | [Mutex] received everything.

2021-06-17 22:58:42 | [Mutex] isItemNotified: node_elur250203:subscribe_node:success :: true

2021-06-17 22:58:42 |


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


2021-06-17 22:58:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:58:42 | command: <data><node>node_elur250203</node><entry><content>content_diq26o0204</content></entry></data>

2021-06-17 22:58:42 | target: http://localhost:8088

2021-06-17 22:58:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-17 22:58:42 | entity: <data><node>node_elur250203</node><entry><content>content_diq26o0204</content></entry></data>

2021-06-17 22:58:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:58:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:58:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d016234-b5ea-4294-b130-ac40ffee8586</value></item-id></result>

2021-06-17 22:58:42 | contains: true

2021-06-17 22:58:42 | [Mutex] waiting for: [user_regular863hd30202@test-domain.com:message:received:content_diq26o0204]

2021-06-17 22:58:42 | [Mutex] received everything.

2021-06-17 22:58:42 | [Mutex] isItemNotified: user_regular863hd30202@test-domain.com:message:received:content_diq26o0204 :: true

2021-06-17 22:58:42 |


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


2021-06-17 22:58:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:58:42 | command: <data><node>node_elur250203</node><expire-at>2021-06-18T05:58:37Z</expire-at><entry><content>content_g5u7cy0205</content></entry></data>

2021-06-17 22:58:42 | target: http://localhost:8088

2021-06-17 22:58:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-17 22:58:42 | entity: <data><node>node_elur250203</node><expire-at>2021-06-18T05:58:37Z</expire-at><entry><content>content_g5u7cy0205</content></entry></data>

2021-06-17 22:58:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:58:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:58:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>952bf07a-9f36-41b9-a6c3-c918ee7db9e3</value></item-id></result>

2021-06-17 22:58:42 | contains: true

2021-06-17 22:58:42 | [Mutex] waiting for: [user_regular863hd30202@test-domain.com:message:received:content_g5u7cy0205]

2021-06-17 22:58:57 | [Mutex] timeout. Not received [user_regular863hd30202@test-domain.com:message:received:content_g5u7cy0205]

2021-06-17 22:58:57 | [Mutex] isItemNotified: user_regular863hd30202@test-domain.com:message:received:content_g5u7cy0205 :: false

2021-06-17 22:58:57 |


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


2021-06-17 22:58:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:58:57 | command: <data><node>node_elur250203</node><entry><content>content_qqu0zs0206</content></entry></data>

2021-06-17 22:58:57 | target: http://localhost:8088

2021-06-17 22:58:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-17 22:58:57 | entity: <data><node>node_elur250203</node><entry><content>content_qqu0zs0206</content></entry></data>

2021-06-17 22:58:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:58:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:58:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2f1bace7-847e-4745-976e-1bb2c0ee3b0e</value></item-id></result>

2021-06-17 22:58:57 | contains: true

2021-06-17 22:59:02 | [Mutex] waiting for: [user_regular863hd30202@test-domain.com:message:received:content_qqu0zs0206]

2021-06-17 22:59:02 | [Mutex] received everything.

2021-06-17 22:59:02 | [Mutex] isItemNotified: user_regular863hd30202@test-domain.com:message:received:content_qqu0zs0206 :: true

2021-06-17 22:59:02 |


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


2021-06-17 22:59:02 | [Mutex] received everything.

2021-06-17 22:59:02 | [Mutex] isItemNotified: node_elur250203:subscribe_node:success :: true

2021-06-17 22:59:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:59:02 | command: <data><node>node_elur250203</node><expire-at>2021-06-18T05:59:07Z</expire-at><entry><content>content_m255n20207</content></entry></data>

2021-06-17 22:59:02 | target: http://localhost:8088

2021-06-17 22:59:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-17 22:59:02 | entity: <data><node>node_elur250203</node><expire-at>2021-06-18T05:59:07Z</expire-at><entry><content>content_m255n20207</content></entry></data>

2021-06-17 22:59:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:59:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:59:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4cb05d08-735c-4afe-af4e-5b1916006dde</value></item-id></result>

2021-06-17 22:59:02 | contains: true

2021-06-17 22:59:10 | [Mutex] waiting for: [user_regular863hd30202@test-domain.com:message:received:content_m255n20207]

2021-06-17 22:59:10 | [Mutex] waiting for: [user_regular863hd30202@test-domain.com:message:received:content_m255n20207]

2021-06-17 22:59:25 | [Mutex] timeout. Not received [user_regular863hd30202@test-domain.com:message:received:content_m255n20207]

2021-06-17 22:59:25 | [Mutex] received everything.

2021-06-17 22:59:25 | [Mutex] isItemNotified: user_regular863hd30202@test-domain.com:message:received:content_m255n20207 :: false

2021-06-17 22:59:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m255n20207 :: true