Generated by TestNG with ReportNG at 22:25 PDT on Friday 23 October 2020
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.376s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.822s
2020-10-23 22:41:09 |

2020-10-23 22:41:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-23 22:41:09 | ------------------------------------

2020-10-23 22:41:09 | [Mutex] isItemNotified: node_owe6a90203:exists :: false

2020-10-23 22:41:09 | [Mutex] waiting for: [node_owe6a90203:create_node]

2020-10-23 22:41:09 | [Mutex] received everything.

2020-10-23 22:41:09 | [Mutex] isItemNotified: node_owe6a90203:create_node:success :: true

2020-10-23 22:41:09 | [Mutex] waiting for: [node_owe6a90203:subscribe_node]

2020-10-23 22:41:09 | [Mutex] received everything.

2020-10-23 22:41:09 | [Mutex] isItemNotified: node_owe6a90203:subscribe_node:success :: true

2020-10-23 22:41:09 |


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


2020-10-23 22:41:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-23 22:41:09 | command: <data><node>node_owe6a90203</node><entry><content>content_gn8kv90204</content></entry></data>

2020-10-23 22:41:09 | target: http://localhost:8088

2020-10-23 22:41:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-23 22:41:09 | entity: <data><node>node_owe6a90203</node><entry><content>content_gn8kv90204</content></entry></data>

2020-10-23 22:41:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:41:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-23 22:41:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>da889f87-5797-4d23-be96-6ac427753d79</value></item-id></result>

2020-10-23 22:41:09 | contains: true

2020-10-23 22:41:09 | [Mutex] received everything.

2020-10-23 22:41:09 | [Mutex] isItemNotified: user_regularp5af8f0202@test-domain.com:message:received:content_gn8kv90204 :: true

2020-10-23 22:41:09 |


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


2020-10-23 22:41:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-23 22:41:09 | command: <data><node>node_owe6a90203</node><expire-at>2020-10-24T05:41:04Z</expire-at><entry><content>content_7rea5j0205</content></entry></data>

2020-10-23 22:41:09 | target: http://localhost:8088

2020-10-23 22:41:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-23 22:41:09 | entity: <data><node>node_owe6a90203</node><expire-at>2020-10-24T05:41:04Z</expire-at><entry><content>content_7rea5j0205</content></entry></data>

2020-10-23 22:41:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:41:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-23 22:41:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b36df4ce-890d-425e-919a-39c48b71aade</value></item-id></result>

2020-10-23 22:41:09 | contains: true

2020-10-23 22:41:09 | [Mutex] waiting for: [user_regularp5af8f0202@test-domain.com:message:received:content_7rea5j0205]

2020-10-23 22:41:24 | [Mutex] timeout. Not received [user_regularp5af8f0202@test-domain.com:message:received:content_7rea5j0205]

2020-10-23 22:41:24 | [Mutex] isItemNotified: user_regularp5af8f0202@test-domain.com:message:received:content_7rea5j0205 :: false

2020-10-23 22:41:24 |


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


2020-10-23 22:41:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-23 22:41:24 | command: <data><node>node_owe6a90203</node><entry><content>content_1dla5o0206</content></entry></data>

2020-10-23 22:41:24 | target: http://localhost:8088

2020-10-23 22:41:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-23 22:41:24 | entity: <data><node>node_owe6a90203</node><entry><content>content_1dla5o0206</content></entry></data>

2020-10-23 22:41:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:41:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-23 22:41:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>06867521-eb70-4b86-b727-b11af7295e13</value></item-id></result>

2020-10-23 22:41:24 | contains: true

2020-10-23 22:41:30 | [Mutex] waiting for: [user_regularp5af8f0202@test-domain.com:message:received:content_1dla5o0206]

2020-10-23 22:41:30 | [Mutex] received everything.

2020-10-23 22:41:30 | [Mutex] isItemNotified: user_regularp5af8f0202@test-domain.com:message:received:content_1dla5o0206 :: true

2020-10-23 22:41:30 |


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


2020-10-23 22:41:30 | [Mutex] received everything.

2020-10-23 22:41:30 | [Mutex] isItemNotified: node_owe6a90203:subscribe_node:success :: true

2020-10-23 22:41:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-23 22:41:30 | command: <data><node>node_owe6a90203</node><expire-at>2020-10-24T05:41:35Z</expire-at><entry><content>content_svdemq0207</content></entry></data>

2020-10-23 22:41:30 | target: http://localhost:8088

2020-10-23 22:41:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-23 22:41:30 | entity: <data><node>node_owe6a90203</node><expire-at>2020-10-24T05:41:35Z</expire-at><entry><content>content_svdemq0207</content></entry></data>

2020-10-23 22:41:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:41:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-23 22:41:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eac6ebd3-a678-4a4e-ba8d-689bc18282aa</value></item-id></result>

2020-10-23 22:41:30 | contains: true

2020-10-23 22:41:38 | [Mutex] waiting for: [user_regularp5af8f0202@test-domain.com:message:received:content_svdemq0207]

2020-10-23 22:41:53 | [Mutex] timeout. Not received [user_regularp5af8f0202@test-domain.com:message:received:content_svdemq0207]

2020-10-23 22:41:53 | [Mutex] received everything.

2020-10-23 22:41:53 | [Mutex] isItemNotified: user_regularp5af8f0202@test-domain.com:message:received:content_svdemq0207 :: false

2020-10-23 22:41:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_svdemq0207 :: true