Generated by TestNG with ReportNG at 22:20 PDT on Monday 26 April 2021
root@f29ef40080b5 / 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.906s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.564s
2021-04-26 22:35:44 |

2021-04-26 22:35:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-26 22:35:44 | ------------------------------------

2021-04-26 22:35:44 | [Mutex] isItemNotified: node_pc8sql0203:exists :: false

2021-04-26 22:35:44 | [Mutex] waiting for: [node_pc8sql0203:create_node]

2021-04-26 22:35:44 | [Mutex] received everything.

2021-04-26 22:35:44 | [Mutex] isItemNotified: node_pc8sql0203:create_node:success :: true

2021-04-26 22:35:44 | [Mutex] waiting for: [node_pc8sql0203:subscribe_node]

2021-04-26 22:35:44 | [Mutex] waiting for: [node_pc8sql0203:subscribe_node]

2021-04-26 22:35:44 | [Mutex] received everything.

2021-04-26 22:35:44 | [Mutex] isItemNotified: node_pc8sql0203:subscribe_node:success :: true

2021-04-26 22:35:44 |


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


2021-04-26 22:35:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:35:44 | command: <data><node>node_pc8sql0203</node><entry><content>content_idq3u90204</content></entry></data>

2021-04-26 22:35:44 | target: http://localhost:8088

2021-04-26 22:35:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-26 22:35:44 | entity: <data><node>node_pc8sql0203</node><entry><content>content_idq3u90204</content></entry></data>

2021-04-26 22:35:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 05:35:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 22:35:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>63be27c1-7f30-4ea9-a7dd-bed621c63bec</value></item-id></result>

2021-04-26 22:35:44 | contains: true

2021-04-26 22:35:44 | [Mutex] received everything.

2021-04-26 22:35:44 | [Mutex] isItemNotified: user_regular96i4m40202@test-domain.com:message:received:content_idq3u90204 :: true

2021-04-26 22:35:44 |


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


2021-04-26 22:35:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:35:44 | command: <data><node>node_pc8sql0203</node><expire-at>2021-04-27T05:35:39Z</expire-at><entry><content>content_gv47vr0205</content></entry></data>

2021-04-26 22:35:44 | target: http://localhost:8088

2021-04-26 22:35:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-26 22:35:44 | entity: <data><node>node_pc8sql0203</node><expire-at>2021-04-27T05:35:39Z</expire-at><entry><content>content_gv47vr0205</content></entry></data>

2021-04-26 22:35:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 05:35:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 22:35:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a216ce3c-a67f-4d40-bd83-d4a76f4eb014</value></item-id></result>

2021-04-26 22:35:44 | contains: true

2021-04-26 22:35:44 | [Mutex] waiting for: [user_regular96i4m40202@test-domain.com:message:received:content_gv47vr0205]

2021-04-26 22:35:59 | [Mutex] timeout. Not received [user_regular96i4m40202@test-domain.com:message:received:content_gv47vr0205]

2021-04-26 22:35:59 | [Mutex] isItemNotified: user_regular96i4m40202@test-domain.com:message:received:content_gv47vr0205 :: false

2021-04-26 22:35:59 |


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


2021-04-26 22:35:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:35:59 | command: <data><node>node_pc8sql0203</node><entry><content>content_sfn98e0206</content></entry></data>

2021-04-26 22:35:59 | target: http://localhost:8088

2021-04-26 22:35:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-26 22:35:59 | entity: <data><node>node_pc8sql0203</node><entry><content>content_sfn98e0206</content></entry></data>

2021-04-26 22:35:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 05:35:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 22:35:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cf80df4c-adb1-4237-9a3b-ca3905e67457</value></item-id></result>

2021-04-26 22:35:59 | contains: true

2021-04-26 22:36:04 | [Mutex] waiting for: [user_regular96i4m40202@test-domain.com:message:received:content_sfn98e0206]

2021-04-26 22:36:04 | [Mutex] received everything.

2021-04-26 22:36:04 | [Mutex] isItemNotified: user_regular96i4m40202@test-domain.com:message:received:content_sfn98e0206 :: true

2021-04-26 22:36:04 |


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


2021-04-26 22:36:04 | [Mutex] received everything.

2021-04-26 22:36:04 | [Mutex] isItemNotified: node_pc8sql0203:subscribe_node:success :: true

2021-04-26 22:36:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:36:04 | command: <data><node>node_pc8sql0203</node><expire-at>2021-04-27T05:36:09Z</expire-at><entry><content>content_oyslvb0207</content></entry></data>

2021-04-26 22:36:04 | target: http://localhost:8088

2021-04-26 22:36:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-26 22:36:04 | entity: <data><node>node_pc8sql0203</node><expire-at>2021-04-27T05:36:09Z</expire-at><entry><content>content_oyslvb0207</content></entry></data>

2021-04-26 22:36:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 05:36:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 22:36:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>47441537-e1c5-4e6b-817f-1be951b51aa6</value></item-id></result>

2021-04-26 22:36:04 | contains: true

2021-04-26 22:36:12 | [Mutex] waiting for: [user_regular96i4m40202@test-domain.com:message:received:content_oyslvb0207]

2021-04-26 22:36:27 | [Mutex] timeout. Not received [user_regular96i4m40202@test-domain.com:message:received:content_oyslvb0207]

2021-04-26 22:36:27 | [Mutex] received everything.

2021-04-26 22:36:27 | [Mutex] isItemNotified: user_regular96i4m40202@test-domain.com:message:received:content_oyslvb0207 :: false

2021-04-26 22:36:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oyslvb0207 :: true