Generated by TestNG with ReportNG at 21:50 PST on Wednesday 30 December 2020
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.457s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.761s
2020-12-30 22:05:05 |

2020-12-30 22:05:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-30 22:05:05 | ------------------------------------

2020-12-30 22:05:05 | [Mutex] isItemNotified: node_vlff780203:exists :: false

2020-12-30 22:05:05 | [Mutex] waiting for: [node_vlff780203:create_node]

2020-12-30 22:05:05 | [Mutex] received everything.

2020-12-30 22:05:05 | [Mutex] isItemNotified: node_vlff780203:create_node:success :: true

2020-12-30 22:05:05 | [Mutex] waiting for: [node_vlff780203:subscribe_node]

2020-12-30 22:05:05 | [Mutex] waiting for: [node_vlff780203:subscribe_node]

2020-12-30 22:05:05 | [Mutex] received everything.

2020-12-30 22:05:05 | [Mutex] isItemNotified: node_vlff780203:subscribe_node:success :: true

2020-12-30 22:05:05 |


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


2020-12-30 22:05:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 22:05:05 | command: <data><node>node_vlff780203</node><entry><content>content_e1pr2v0204</content></entry></data>

2020-12-30 22:05:05 | target: http://localhost:8088

2020-12-30 22:05:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-30 22:05:05 | entity: <data><node>node_vlff780203</node><entry><content>content_e1pr2v0204</content></entry></data>

2020-12-30 22:05:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 06:05:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 22:05:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>31fd7e9a-a26f-4138-9d64-f60702b85f79</value></item-id></result>

2020-12-30 22:05:05 | contains: true

2020-12-30 22:05:05 | [Mutex] received everything.

2020-12-30 22:05:05 | [Mutex] isItemNotified: user_regularc65zd20202@test-domain.com:message:received:content_e1pr2v0204 :: true

2020-12-30 22:05:05 |


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


2020-12-30 22:05:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 22:05:05 | command: <data><node>node_vlff780203</node><expire-at>2020-12-31T06:05:00Z</expire-at><entry><content>content_lfjdq20205</content></entry></data>

2020-12-30 22:05:05 | target: http://localhost:8088

2020-12-30 22:05:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-30 22:05:05 | entity: <data><node>node_vlff780203</node><expire-at>2020-12-31T06:05:00Z</expire-at><entry><content>content_lfjdq20205</content></entry></data>

2020-12-30 22:05:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 06:05:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 22:05:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ad6b8c5-2708-46b2-bba1-ae9ba162cea7</value></item-id></result>

2020-12-30 22:05:05 | contains: true

2020-12-30 22:05:05 | [Mutex] waiting for: [user_regularc65zd20202@test-domain.com:message:received:content_lfjdq20205]

2020-12-30 22:05:20 | [Mutex] timeout. Not received [user_regularc65zd20202@test-domain.com:message:received:content_lfjdq20205]

2020-12-30 22:05:20 | [Mutex] isItemNotified: user_regularc65zd20202@test-domain.com:message:received:content_lfjdq20205 :: false

2020-12-30 22:05:20 |


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


2020-12-30 22:05:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 22:05:20 | command: <data><node>node_vlff780203</node><entry><content>content_2mc3kc0206</content></entry></data>

2020-12-30 22:05:20 | target: http://localhost:8088

2020-12-30 22:05:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-30 22:05:20 | entity: <data><node>node_vlff780203</node><entry><content>content_2mc3kc0206</content></entry></data>

2020-12-30 22:05:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 06:05:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 22:05:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0d3900fa-4e88-4970-afc8-aeac566433f8</value></item-id></result>

2020-12-30 22:05:21 | contains: true

2020-12-30 22:05:26 | [Mutex] waiting for: [user_regularc65zd20202@test-domain.com:message:received:content_2mc3kc0206]

2020-12-30 22:05:26 | [Mutex] received everything.

2020-12-30 22:05:26 | [Mutex] isItemNotified: user_regularc65zd20202@test-domain.com:message:received:content_2mc3kc0206 :: true

2020-12-30 22:05:26 |


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


2020-12-30 22:05:26 | [Mutex] received everything.

2020-12-30 22:05:26 | [Mutex] isItemNotified: node_vlff780203:subscribe_node:success :: true

2020-12-30 22:05:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 22:05:26 | command: <data><node>node_vlff780203</node><expire-at>2020-12-31T06:05:31Z</expire-at><entry><content>content_ygkcg40207</content></entry></data>

2020-12-30 22:05:26 | target: http://localhost:8088

2020-12-30 22:05:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-30 22:05:26 | entity: <data><node>node_vlff780203</node><expire-at>2020-12-31T06:05:31Z</expire-at><entry><content>content_ygkcg40207</content></entry></data>

2020-12-30 22:05:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 06:05:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 22:05:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fde75e38-cac8-4eb2-91f6-6f2c0300a1f1</value></item-id></result>

2020-12-30 22:05:26 | contains: true

2020-12-30 22:05:34 | [Mutex] waiting for: [user_regularc65zd20202@test-domain.com:message:received:content_ygkcg40207]

2020-12-30 22:05:49 | [Mutex] timeout. Not received [user_regularc65zd20202@test-domain.com:message:received:content_ygkcg40207]

2020-12-30 22:05:49 | [Mutex] received everything.

2020-12-30 22:05:49 | [Mutex] isItemNotified: user_regularc65zd20202@test-domain.com:message:received:content_ygkcg40207 :: false

2020-12-30 22:05:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ygkcg40207 :: true