Generated by TestNG with ReportNG at 23:12 PDT on Sunday 20 September 2020
root@1a41183091ef / 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 : 44.986s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.709s
2020-09-20 23:27:37 |

2020-09-20 23:27:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-20 23:27:37 | ------------------------------------

2020-09-20 23:27:37 | [Mutex] isItemNotified: node_p4pw0g0203:exists :: false

2020-09-20 23:27:37 | [Mutex] waiting for: [node_p4pw0g0203:create_node]

2020-09-20 23:27:37 | [Mutex] received everything.

2020-09-20 23:27:37 | [Mutex] isItemNotified: node_p4pw0g0203:create_node:success :: true

2020-09-20 23:27:37 | [Mutex] waiting for: [node_p4pw0g0203:subscribe_node]

2020-09-20 23:27:37 | [Mutex] received everything.

2020-09-20 23:27:37 | [Mutex] isItemNotified: node_p4pw0g0203:subscribe_node:success :: true

2020-09-20 23:27:37 |


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


2020-09-20 23:27:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 23:27:37 | command: <data><node>node_p4pw0g0203</node><entry><content>content_my3d1o0204</content></entry></data>

2020-09-20 23:27:37 | target: http://localhost:8088

2020-09-20 23:27:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-20 23:27:37 | entity: <data><node>node_p4pw0g0203</node><entry><content>content_my3d1o0204</content></entry></data>

2020-09-20 23:27:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 06:27:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 23:27:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>33249b10-4f6a-45f3-806a-811308d89bdc</value></item-id></result>

2020-09-20 23:27:37 | contains: true

2020-09-20 23:27:37 | [Mutex] received everything.

2020-09-20 23:27:37 | [Mutex] isItemNotified: user_regulara5cy610202@test-domain.com:message:received:content_my3d1o0204 :: true

2020-09-20 23:27:37 |


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


2020-09-20 23:27:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 23:27:37 | command: <data><node>node_p4pw0g0203</node><expire-at>2020-09-21T06:27:32Z</expire-at><entry><content>content_wupazy0205</content></entry></data>

2020-09-20 23:27:37 | target: http://localhost:8088

2020-09-20 23:27:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-20 23:27:37 | entity: <data><node>node_p4pw0g0203</node><expire-at>2020-09-21T06:27:32Z</expire-at><entry><content>content_wupazy0205</content></entry></data>

2020-09-20 23:27:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 06:27:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 23:27:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>068e4856-4b3a-46ed-baed-29c90a1c287e</value></item-id></result>

2020-09-20 23:27:37 | contains: true

2020-09-20 23:27:37 | [Mutex] waiting for: [user_regulara5cy610202@test-domain.com:message:received:content_wupazy0205]

2020-09-20 23:27:52 | [Mutex] timeout. Not received [user_regulara5cy610202@test-domain.com:message:received:content_wupazy0205]

2020-09-20 23:27:52 | [Mutex] isItemNotified: user_regulara5cy610202@test-domain.com:message:received:content_wupazy0205 :: false

2020-09-20 23:27:52 |


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


2020-09-20 23:27:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 23:27:52 | command: <data><node>node_p4pw0g0203</node><entry><content>content_jv3a2e0206</content></entry></data>

2020-09-20 23:27:52 | target: http://localhost:8088

2020-09-20 23:27:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-20 23:27:52 | entity: <data><node>node_p4pw0g0203</node><entry><content>content_jv3a2e0206</content></entry></data>

2020-09-20 23:27:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 06:27:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 23:27:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>47d1193f-ff58-42ad-829a-c2e7ae03f331</value></item-id></result>

2020-09-20 23:27:52 | contains: true

2020-09-20 23:27:58 | [Mutex] waiting for: [user_regulara5cy610202@test-domain.com:message:received:content_jv3a2e0206]

2020-09-20 23:27:58 | [Mutex] received everything.

2020-09-20 23:27:58 | [Mutex] isItemNotified: user_regulara5cy610202@test-domain.com:message:received:content_jv3a2e0206 :: true

2020-09-20 23:27:58 |


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


2020-09-20 23:27:58 | [Mutex] received everything.

2020-09-20 23:27:58 | [Mutex] isItemNotified: node_p4pw0g0203:subscribe_node:success :: true

2020-09-20 23:27:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 23:27:58 | command: <data><node>node_p4pw0g0203</node><expire-at>2020-09-21T06:28:03Z</expire-at><entry><content>content_qjzmeg0207</content></entry></data>

2020-09-20 23:27:58 | target: http://localhost:8088

2020-09-20 23:27:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-20 23:27:58 | entity: <data><node>node_p4pw0g0203</node><expire-at>2020-09-21T06:28:03Z</expire-at><entry><content>content_qjzmeg0207</content></entry></data>

2020-09-20 23:27:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 06:27:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 23:27:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9799db87-15bf-4de9-abb6-cfc8ceae4ee0</value></item-id></result>

2020-09-20 23:27:58 | contains: true

2020-09-20 23:28:06 | [Mutex] waiting for: [user_regulara5cy610202@test-domain.com:message:received:content_qjzmeg0207]

2020-09-20 23:28:21 | [Mutex] timeout. Not received [user_regulara5cy610202@test-domain.com:message:received:content_qjzmeg0207]

2020-09-20 23:28:21 | [Mutex] received everything.

2020-09-20 23:28:21 | [Mutex] isItemNotified: user_regulara5cy610202@test-domain.com:message:received:content_qjzmeg0207 :: false

2020-09-20 23:28:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qjzmeg0207 :: true