Generated by TestNG with ReportNG at 22:47 PDT on Sunday 03 October 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 : 45.098s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.772s
2021-10-03 23:02:00 |

2021-10-03 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-03 23:02:00 | ------------------------------------

2021-10-03 23:02:00 | [Mutex] isItemNotified: node_use07v0203:exists :: false

2021-10-03 23:02:00 | [Mutex] waiting for: [node_use07v0203:create_node]

2021-10-03 23:02:00 | [Mutex] received everything.

2021-10-03 23:02:00 | [Mutex] isItemNotified: node_use07v0203:create_node:success :: true

2021-10-03 23:02:00 | [Mutex] waiting for: [node_use07v0203:subscribe_node]

2021-10-03 23:02:00 | [Mutex] waiting for: [node_use07v0203:subscribe_node]

2021-10-03 23:02:00 | [Mutex] received everything.

2021-10-03 23:02:00 | [Mutex] isItemNotified: node_use07v0203:subscribe_node:success :: true

2021-10-03 23:02:00 |


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


2021-10-03 23:02:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 23:02:00 | command: <data><node>node_use07v0203</node><entry><content>content_iy10ij0204</content></entry></data>

2021-10-03 23:02:00 | target: http://localhost:8088

2021-10-03 23:02:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-03 23:02:00 | entity: <data><node>node_use07v0203</node><entry><content>content_iy10ij0204</content></entry></data>

2021-10-03 23:02:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 06:02:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 23:02:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>39510784-5f51-4b3d-b02e-a408c09a6009</value></item-id></result>

2021-10-03 23:02:00 | contains: true

2021-10-03 23:02:00 | [Mutex] waiting for: [user_regulare949n90202@test-domain.com:message:received:content_iy10ij0204]

2021-10-03 23:02:00 | [Mutex] received everything.

2021-10-03 23:02:00 | [Mutex] isItemNotified: user_regulare949n90202@test-domain.com:message:received:content_iy10ij0204 :: true

2021-10-03 23:02:00 |


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


2021-10-03 23:02:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 23:02:00 | command: <data><node>node_use07v0203</node><expire-at>2021-10-04T06:01:55Z</expire-at><entry><content>content_sy5zum0205</content></entry></data>

2021-10-03 23:02:00 | target: http://localhost:8088

2021-10-03 23:02:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-03 23:02:00 | entity: <data><node>node_use07v0203</node><expire-at>2021-10-04T06:01:55Z</expire-at><entry><content>content_sy5zum0205</content></entry></data>

2021-10-03 23:02:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 06:02:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 23:02:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fcd2f232-3e94-49a3-bd0c-aeb5d21de2f1</value></item-id></result>

2021-10-03 23:02:00 | contains: true

2021-10-03 23:02:00 | [Mutex] waiting for: [user_regulare949n90202@test-domain.com:message:received:content_sy5zum0205]

2021-10-03 23:02:15 | [Mutex] timeout. Not received [user_regulare949n90202@test-domain.com:message:received:content_sy5zum0205]

2021-10-03 23:02:15 | [Mutex] isItemNotified: user_regulare949n90202@test-domain.com:message:received:content_sy5zum0205 :: false

2021-10-03 23:02:15 |


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


2021-10-03 23:02:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 23:02:15 | command: <data><node>node_use07v0203</node><entry><content>content_z1f5q70206</content></entry></data>

2021-10-03 23:02:15 | target: http://localhost:8088

2021-10-03 23:02:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-03 23:02:15 | entity: <data><node>node_use07v0203</node><entry><content>content_z1f5q70206</content></entry></data>

2021-10-03 23:02:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 06:02:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 23:02:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4d6965f4-1ab2-45ea-8342-49d594dbd127</value></item-id></result>

2021-10-03 23:02:15 | contains: true

2021-10-03 23:02:20 | [Mutex] waiting for: [user_regulare949n90202@test-domain.com:message:received:content_z1f5q70206]

2021-10-03 23:02:20 | [Mutex] waiting for: [user_regulare949n90202@test-domain.com:message:received:content_z1f5q70206]

2021-10-03 23:02:20 | [Mutex] received everything.

2021-10-03 23:02:20 | [Mutex] isItemNotified: user_regulare949n90202@test-domain.com:message:received:content_z1f5q70206 :: true

2021-10-03 23:02:20 |


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


2021-10-03 23:02:20 | [Mutex] received everything.

2021-10-03 23:02:20 | [Mutex] isItemNotified: node_use07v0203:subscribe_node:success :: true

2021-10-03 23:02:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 23:02:20 | command: <data><node>node_use07v0203</node><expire-at>2021-10-04T06:02:25Z</expire-at><entry><content>content_b505e70207</content></entry></data>

2021-10-03 23:02:20 | target: http://localhost:8088

2021-10-03 23:02:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-03 23:02:20 | entity: <data><node>node_use07v0203</node><expire-at>2021-10-04T06:02:25Z</expire-at><entry><content>content_b505e70207</content></entry></data>

2021-10-03 23:02:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 06:02:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 23:02:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3cbef969-0c01-4b11-8ad4-639abb5fb933</value></item-id></result>

2021-10-03 23:02:20 | contains: true

2021-10-03 23:02:28 | [Mutex] waiting for: [user_regulare949n90202@test-domain.com:message:received:content_b505e70207]

2021-10-03 23:02:28 | [Mutex] waiting for: [user_regulare949n90202@test-domain.com:message:received:content_b505e70207]

2021-10-03 23:02:43 | [Mutex] timeout. Not received [user_regulare949n90202@test-domain.com:message:received:content_b505e70207]

2021-10-03 23:02:43 | [Mutex] received everything.

2021-10-03 23:02:43 | [Mutex] isItemNotified: user_regulare949n90202@test-domain.com:message:received:content_b505e70207 :: false

2021-10-03 23:02:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b505e70207 :: true