Generated by TestNG with ReportNG at 08:42 PDT on Wednesday 27 October 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.343s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.636s
2021-10-27 08:59:18 |

2021-10-27 08:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-27 08:59:18 | ------------------------------------

2021-10-27 08:59:18 | [Mutex] isItemNotified: node_xgt9180203:exists :: false

2021-10-27 08:59:18 | [Mutex] waiting for: [node_xgt9180203:create_node]

2021-10-27 08:59:18 | [Mutex] received everything.

2021-10-27 08:59:18 | [Mutex] isItemNotified: node_xgt9180203:create_node:success :: true

2021-10-27 08:59:18 | [Mutex] waiting for: [node_xgt9180203:subscribe_node]

2021-10-27 08:59:18 | [Mutex] waiting for: [node_xgt9180203:subscribe_node]

2021-10-27 08:59:18 | [Mutex] received everything.

2021-10-27 08:59:18 | [Mutex] isItemNotified: node_xgt9180203:subscribe_node:success :: true

2021-10-27 08:59:18 |


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


2021-10-27 08:59:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:59:18 | command: <data><node>node_xgt9180203</node><entry><content>content_z5wwnh0204</content></entry></data>

2021-10-27 08:59:18 | target: http://localhost:8088

2021-10-27 08:59:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-27 08:59:18 | entity: <data><node>node_xgt9180203</node><entry><content>content_z5wwnh0204</content></entry></data>

2021-10-27 08:59:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:59:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:59:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6baa297c-d31c-44bb-8fb1-d16b99c3014d</value></item-id></result>

2021-10-27 08:59:18 | contains: true

2021-10-27 08:59:18 | [Mutex] waiting for: [user_regular9szggl0202@test-domain.com:message:received:content_z5wwnh0204]

2021-10-27 08:59:18 | [Mutex] received everything.

2021-10-27 08:59:18 | [Mutex] isItemNotified: user_regular9szggl0202@test-domain.com:message:received:content_z5wwnh0204 :: true

2021-10-27 08:59:18 |


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


2021-10-27 08:59:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:59:18 | command: <data><node>node_xgt9180203</node><expire-at>2021-10-27T15:59:13Z</expire-at><entry><content>content_yby4lf0205</content></entry></data>

2021-10-27 08:59:18 | target: http://localhost:8088

2021-10-27 08:59:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-27 08:59:18 | entity: <data><node>node_xgt9180203</node><expire-at>2021-10-27T15:59:13Z</expire-at><entry><content>content_yby4lf0205</content></entry></data>

2021-10-27 08:59:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:59:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:59:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>789f00e8-aed4-4b05-aa3e-06c2cb72bba2</value></item-id></result>

2021-10-27 08:59:18 | contains: true

2021-10-27 08:59:18 | [Mutex] waiting for: [user_regular9szggl0202@test-domain.com:message:received:content_yby4lf0205]

2021-10-27 08:59:33 | [Mutex] timeout. Not received [user_regular9szggl0202@test-domain.com:message:received:content_yby4lf0205]

2021-10-27 08:59:33 | [Mutex] isItemNotified: user_regular9szggl0202@test-domain.com:message:received:content_yby4lf0205 :: false

2021-10-27 08:59:33 |


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


2021-10-27 08:59:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:59:33 | command: <data><node>node_xgt9180203</node><entry><content>content_lfqp3d0206</content></entry></data>

2021-10-27 08:59:33 | target: http://localhost:8088

2021-10-27 08:59:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-27 08:59:33 | entity: <data><node>node_xgt9180203</node><entry><content>content_lfqp3d0206</content></entry></data>

2021-10-27 08:59:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:59:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:59:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55a6327e-fe5b-4752-9299-70d77a814dd5</value></item-id></result>

2021-10-27 08:59:33 | contains: true

2021-10-27 08:59:38 | [Mutex] waiting for: [user_regular9szggl0202@test-domain.com:message:received:content_lfqp3d0206]

2021-10-27 08:59:38 | [Mutex] received everything.

2021-10-27 08:59:38 | [Mutex] isItemNotified: user_regular9szggl0202@test-domain.com:message:received:content_lfqp3d0206 :: true

2021-10-27 08:59:38 |


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


2021-10-27 08:59:38 | [Mutex] received everything.

2021-10-27 08:59:38 | [Mutex] isItemNotified: node_xgt9180203:subscribe_node:success :: true

2021-10-27 08:59:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:59:38 | command: <data><node>node_xgt9180203</node><expire-at>2021-10-27T15:59:43Z</expire-at><entry><content>content_h1qpqj0207</content></entry></data>

2021-10-27 08:59:38 | target: http://localhost:8088

2021-10-27 08:59:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-27 08:59:38 | entity: <data><node>node_xgt9180203</node><expire-at>2021-10-27T15:59:43Z</expire-at><entry><content>content_h1qpqj0207</content></entry></data>

2021-10-27 08:59:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:59:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:59:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>09eb9e17-516e-46b3-b828-a2da86455819</value></item-id></result>

2021-10-27 08:59:38 | contains: true

2021-10-27 08:59:47 | [Mutex] waiting for: [user_regular9szggl0202@test-domain.com:message:received:content_h1qpqj0207]

2021-10-27 08:59:47 | [Mutex] waiting for: [user_regular9szggl0202@test-domain.com:message:received:content_h1qpqj0207]

2021-10-27 09:00:02 | [Mutex] timeout. Not received [user_regular9szggl0202@test-domain.com:message:received:content_h1qpqj0207]

2021-10-27 09:00:02 | [Mutex] received everything.

2021-10-27 09:00:02 | [Mutex] isItemNotified: user_regular9szggl0202@test-domain.com:message:received:content_h1qpqj0207 :: false

2021-10-27 09:00:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_h1qpqj0207 :: true