Generated by TestNG with ReportNG at 22:42 PDT on Friday 04 June 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.494s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.780s
2021-06-04 22:57:19 |

2021-06-04 22:57:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-04 22:57:19 | ------------------------------------

2021-06-04 22:57:19 | [Mutex] isItemNotified: node_fc2r1r0203:exists :: false

2021-06-04 22:57:19 | [Mutex] waiting for: [node_fc2r1r0203:create_node]

2021-06-04 22:57:19 | [Mutex] received everything.

2021-06-04 22:57:19 | [Mutex] isItemNotified: node_fc2r1r0203:create_node:success :: true

2021-06-04 22:57:19 | [Mutex] waiting for: [node_fc2r1r0203:subscribe_node]

2021-06-04 22:57:19 | [Mutex] waiting for: [node_fc2r1r0203:subscribe_node]

2021-06-04 22:57:19 | [Mutex] received everything.

2021-06-04 22:57:19 | [Mutex] isItemNotified: node_fc2r1r0203:subscribe_node:success :: true

2021-06-04 22:57:19 |


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


2021-06-04 22:57:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:57:19 | command: <data><node>node_fc2r1r0203</node><entry><content>content_h7ar4w0204</content></entry></data>

2021-06-04 22:57:19 | target: http://localhost:8088

2021-06-04 22:57:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-04 22:57:19 | entity: <data><node>node_fc2r1r0203</node><entry><content>content_h7ar4w0204</content></entry></data>

2021-06-04 22:57:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:57:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:57:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>61bd780f-bec0-444f-b82c-a38c0a3ea7e4</value></item-id></result>

2021-06-04 22:57:19 | contains: true

2021-06-04 22:57:19 | [Mutex] received everything.

2021-06-04 22:57:19 | [Mutex] isItemNotified: user_regular3gfutb0202@test-domain.com:message:received:content_h7ar4w0204 :: true

2021-06-04 22:57:19 |


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


2021-06-04 22:57:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:57:19 | command: <data><node>node_fc2r1r0203</node><expire-at>2021-06-05T05:57:14Z</expire-at><entry><content>content_ww7o2k0205</content></entry></data>

2021-06-04 22:57:19 | target: http://localhost:8088

2021-06-04 22:57:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-04 22:57:19 | entity: <data><node>node_fc2r1r0203</node><expire-at>2021-06-05T05:57:14Z</expire-at><entry><content>content_ww7o2k0205</content></entry></data>

2021-06-04 22:57:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:57:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:57:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4bd58f89-ddfb-4424-81ed-ba7e50fa947d</value></item-id></result>

2021-06-04 22:57:19 | contains: true

2021-06-04 22:57:19 | [Mutex] waiting for: [user_regular3gfutb0202@test-domain.com:message:received:content_ww7o2k0205]

2021-06-04 22:57:34 | [Mutex] timeout. Not received [user_regular3gfutb0202@test-domain.com:message:received:content_ww7o2k0205]

2021-06-04 22:57:34 | [Mutex] isItemNotified: user_regular3gfutb0202@test-domain.com:message:received:content_ww7o2k0205 :: false

2021-06-04 22:57:34 |


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


2021-06-04 22:57:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:57:34 | command: <data><node>node_fc2r1r0203</node><entry><content>content_qnmzws0206</content></entry></data>

2021-06-04 22:57:34 | target: http://localhost:8088

2021-06-04 22:57:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-04 22:57:34 | entity: <data><node>node_fc2r1r0203</node><entry><content>content_qnmzws0206</content></entry></data>

2021-06-04 22:57:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:57:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:57:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>384b9089-d2c9-4f05-b32e-5b5b55501e94</value></item-id></result>

2021-06-04 22:57:34 | contains: true

2021-06-04 22:57:39 | [Mutex] waiting for: [user_regular3gfutb0202@test-domain.com:message:received:content_qnmzws0206]

2021-06-04 22:57:39 | [Mutex] waiting for: [user_regular3gfutb0202@test-domain.com:message:received:content_qnmzws0206]

2021-06-04 22:57:39 | [Mutex] received everything.

2021-06-04 22:57:39 | [Mutex] isItemNotified: user_regular3gfutb0202@test-domain.com:message:received:content_qnmzws0206 :: true

2021-06-04 22:57:39 |


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


2021-06-04 22:57:39 | [Mutex] received everything.

2021-06-04 22:57:39 | [Mutex] isItemNotified: node_fc2r1r0203:subscribe_node:success :: true

2021-06-04 22:57:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:57:39 | command: <data><node>node_fc2r1r0203</node><expire-at>2021-06-05T05:57:44Z</expire-at><entry><content>content_73gdcx0207</content></entry></data>

2021-06-04 22:57:39 | target: http://localhost:8088

2021-06-04 22:57:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-04 22:57:39 | entity: <data><node>node_fc2r1r0203</node><expire-at>2021-06-05T05:57:44Z</expire-at><entry><content>content_73gdcx0207</content></entry></data>

2021-06-04 22:57:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:57:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:57:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>96d9e516-e02a-4ec2-80b9-19876419369e</value></item-id></result>

2021-06-04 22:57:39 | contains: true

2021-06-04 22:57:48 | [Mutex] waiting for: [user_regular3gfutb0202@test-domain.com:message:received:content_73gdcx0207]

2021-06-04 22:57:48 | [Mutex] waiting for: [user_regular3gfutb0202@test-domain.com:message:received:content_73gdcx0207]

2021-06-04 22:58:03 | [Mutex] timeout. Not received [user_regular3gfutb0202@test-domain.com:message:received:content_73gdcx0207]

2021-06-04 22:58:03 | [Mutex] received everything.

2021-06-04 22:58:03 | [Mutex] isItemNotified: user_regular3gfutb0202@test-domain.com:message:received:content_73gdcx0207 :: false

2021-06-04 22:58:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_73gdcx0207 :: true