Generated by TestNG with ReportNG at 22:14 PDT on Tuesday 12 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 : 44.975s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.628s
2021-10-12 22:29:35 |

2021-10-12 22:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-12 22:29:35 | ------------------------------------

2021-10-12 22:29:35 | [Mutex] isItemNotified: node_5ujpag0203:exists :: false

2021-10-12 22:29:35 | [Mutex] waiting for: [node_5ujpag0203:create_node]

2021-10-12 22:29:35 | [Mutex] received everything.

2021-10-12 22:29:35 | [Mutex] isItemNotified: node_5ujpag0203:create_node:success :: true

2021-10-12 22:29:35 | [Mutex] waiting for: [node_5ujpag0203:subscribe_node]

2021-10-12 22:29:35 | [Mutex] received everything.

2021-10-12 22:29:35 | [Mutex] isItemNotified: node_5ujpag0203:subscribe_node:success :: true

2021-10-12 22:29:35 |


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


2021-10-12 22:29:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:29:35 | command: <data><node>node_5ujpag0203</node><entry><content>content_eqh70h0204</content></entry></data>

2021-10-12 22:29:35 | target: http://localhost:8088

2021-10-12 22:29:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-12 22:29:35 | entity: <data><node>node_5ujpag0203</node><entry><content>content_eqh70h0204</content></entry></data>

2021-10-12 22:29:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:29:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:29:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f51850b-2a2d-4756-8513-fdb01514ae13</value></item-id></result>

2021-10-12 22:29:35 | contains: true

2021-10-12 22:29:35 | [Mutex] received everything.

2021-10-12 22:29:35 | [Mutex] isItemNotified: user_regularh38tte0202@test-domain.com:message:received:content_eqh70h0204 :: true

2021-10-12 22:29:35 |


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


2021-10-12 22:29:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:29:35 | command: <data><node>node_5ujpag0203</node><expire-at>2021-10-13T05:29:30Z</expire-at><entry><content>content_r8hbi30205</content></entry></data>

2021-10-12 22:29:35 | target: http://localhost:8088

2021-10-12 22:29:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-12 22:29:35 | entity: <data><node>node_5ujpag0203</node><expire-at>2021-10-13T05:29:30Z</expire-at><entry><content>content_r8hbi30205</content></entry></data>

2021-10-12 22:29:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:29:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:29:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0ce2110e-91db-4811-9d71-27c76c2d4e59</value></item-id></result>

2021-10-12 22:29:35 | contains: true

2021-10-12 22:29:35 | [Mutex] waiting for: [user_regularh38tte0202@test-domain.com:message:received:content_r8hbi30205]

2021-10-12 22:29:50 | [Mutex] timeout. Not received [user_regularh38tte0202@test-domain.com:message:received:content_r8hbi30205]

2021-10-12 22:29:50 | [Mutex] isItemNotified: user_regularh38tte0202@test-domain.com:message:received:content_r8hbi30205 :: false

2021-10-12 22:29:50 |


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


2021-10-12 22:29:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:29:50 | command: <data><node>node_5ujpag0203</node><entry><content>content_pm2lu10206</content></entry></data>

2021-10-12 22:29:50 | target: http://localhost:8088

2021-10-12 22:29:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-12 22:29:50 | entity: <data><node>node_5ujpag0203</node><entry><content>content_pm2lu10206</content></entry></data>

2021-10-12 22:29:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:29:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:29:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>212ec284-07a0-46dd-be10-286362430269</value></item-id></result>

2021-10-12 22:29:50 | contains: true

2021-10-12 22:29:55 | [Mutex] waiting for: [user_regularh38tte0202@test-domain.com:message:received:content_pm2lu10206]

2021-10-12 22:29:55 | [Mutex] waiting for: [user_regularh38tte0202@test-domain.com:message:received:content_pm2lu10206]

2021-10-12 22:29:55 | [Mutex] received everything.

2021-10-12 22:29:55 | [Mutex] isItemNotified: user_regularh38tte0202@test-domain.com:message:received:content_pm2lu10206 :: true

2021-10-12 22:29:55 |


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


2021-10-12 22:29:55 | [Mutex] received everything.

2021-10-12 22:29:55 | [Mutex] isItemNotified: node_5ujpag0203:subscribe_node:success :: true

2021-10-12 22:29:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:29:55 | command: <data><node>node_5ujpag0203</node><expire-at>2021-10-13T05:30:00Z</expire-at><entry><content>content_hsemuf0207</content></entry></data>

2021-10-12 22:29:55 | target: http://localhost:8088

2021-10-12 22:29:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-12 22:29:55 | entity: <data><node>node_5ujpag0203</node><expire-at>2021-10-13T05:30:00Z</expire-at><entry><content>content_hsemuf0207</content></entry></data>

2021-10-12 22:29:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:29:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:29:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0e40901f-9fa0-4933-9f36-456ad8f289d0</value></item-id></result>

2021-10-12 22:29:55 | contains: true

2021-10-12 22:30:03 | [Mutex] waiting for: [user_regularh38tte0202@test-domain.com:message:received:content_hsemuf0207]

2021-10-12 22:30:18 | [Mutex] timeout. Not received [user_regularh38tte0202@test-domain.com:message:received:content_hsemuf0207]

2021-10-12 22:30:18 | [Mutex] received everything.

2021-10-12 22:30:18 | [Mutex] isItemNotified: user_regularh38tte0202@test-domain.com:message:received:content_hsemuf0207 :: false

2021-10-12 22:30:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hsemuf0207 :: true