Generated by TestNG with ReportNG at 22:26 PDT on Friday 14 May 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.372s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.665s
2021-05-14 22:41:46 |

2021-05-14 22:41:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-14 22:41:46 | ------------------------------------

2021-05-14 22:41:46 | [Mutex] isItemNotified: node_tgumzg0203:exists :: false

2021-05-14 22:41:46 | [Mutex] waiting for: [node_tgumzg0203:create_node]

2021-05-14 22:41:46 | [Mutex] received everything.

2021-05-14 22:41:46 | [Mutex] isItemNotified: node_tgumzg0203:create_node:success :: true

2021-05-14 22:41:46 | [Mutex] waiting for: [node_tgumzg0203:subscribe_node]

2021-05-14 22:41:46 | [Mutex] waiting for: [node_tgumzg0203:subscribe_node]

2021-05-14 22:41:46 | [Mutex] received everything.

2021-05-14 22:41:46 | [Mutex] isItemNotified: node_tgumzg0203:subscribe_node:success :: true

2021-05-14 22:41:46 |


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


2021-05-14 22:41:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 22:41:46 | command: <data><node>node_tgumzg0203</node><entry><content>content_7fmqfl0204</content></entry></data>

2021-05-14 22:41:46 | target: http://localhost:8088

2021-05-14 22:41:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-14 22:41:46 | entity: <data><node>node_tgumzg0203</node><entry><content>content_7fmqfl0204</content></entry></data>

2021-05-14 22:41:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:41:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 22:41:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1a94b97d-ac10-4f7f-929c-89e88e594750</value></item-id></result>

2021-05-14 22:41:46 | contains: true

2021-05-14 22:41:46 | [Mutex] received everything.

2021-05-14 22:41:46 | [Mutex] isItemNotified: user_regularf1s3xr0202@test-domain.com:message:received:content_7fmqfl0204 :: true

2021-05-14 22:41:46 |


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


2021-05-14 22:41:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 22:41:46 | command: <data><node>node_tgumzg0203</node><expire-at>2021-05-15T05:41:41Z</expire-at><entry><content>content_spspwt0205</content></entry></data>

2021-05-14 22:41:46 | target: http://localhost:8088

2021-05-14 22:41:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-14 22:41:46 | entity: <data><node>node_tgumzg0203</node><expire-at>2021-05-15T05:41:41Z</expire-at><entry><content>content_spspwt0205</content></entry></data>

2021-05-14 22:41:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:41:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 22:41:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9b01250f-7d24-45ae-990e-ad7ff3e67d8c</value></item-id></result>

2021-05-14 22:41:47 | contains: true

2021-05-14 22:41:47 | [Mutex] waiting for: [user_regularf1s3xr0202@test-domain.com:message:received:content_spspwt0205]

2021-05-14 22:42:02 | [Mutex] timeout. Not received [user_regularf1s3xr0202@test-domain.com:message:received:content_spspwt0205]

2021-05-14 22:42:02 | [Mutex] isItemNotified: user_regularf1s3xr0202@test-domain.com:message:received:content_spspwt0205 :: false

2021-05-14 22:42:02 |


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


2021-05-14 22:42:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 22:42:02 | command: <data><node>node_tgumzg0203</node><entry><content>content_t1tx4z0206</content></entry></data>

2021-05-14 22:42:02 | target: http://localhost:8088

2021-05-14 22:42:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-14 22:42:02 | entity: <data><node>node_tgumzg0203</node><entry><content>content_t1tx4z0206</content></entry></data>

2021-05-14 22:42:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:42:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 22:42:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9d2593cd-4fa0-49be-b8cb-0ecd55117130</value></item-id></result>

2021-05-14 22:42:02 | contains: true

2021-05-14 22:42:07 | [Mutex] waiting for: [user_regularf1s3xr0202@test-domain.com:message:received:content_t1tx4z0206]

2021-05-14 22:42:07 | [Mutex] waiting for: [user_regularf1s3xr0202@test-domain.com:message:received:content_t1tx4z0206]

2021-05-14 22:42:07 | [Mutex] received everything.

2021-05-14 22:42:07 | [Mutex] isItemNotified: user_regularf1s3xr0202@test-domain.com:message:received:content_t1tx4z0206 :: true

2021-05-14 22:42:07 |


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


2021-05-14 22:42:07 | [Mutex] received everything.

2021-05-14 22:42:07 | [Mutex] isItemNotified: node_tgumzg0203:subscribe_node:success :: true

2021-05-14 22:42:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 22:42:07 | command: <data><node>node_tgumzg0203</node><expire-at>2021-05-15T05:42:12Z</expire-at><entry><content>content_viiq3s0207</content></entry></data>

2021-05-14 22:42:07 | target: http://localhost:8088

2021-05-14 22:42:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-14 22:42:07 | entity: <data><node>node_tgumzg0203</node><expire-at>2021-05-15T05:42:12Z</expire-at><entry><content>content_viiq3s0207</content></entry></data>

2021-05-14 22:42:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:42:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 22:42:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9343a086-18b5-465f-9bd2-a7f11846c368</value></item-id></result>

2021-05-14 22:42:07 | contains: true

2021-05-14 22:42:15 | [Mutex] waiting for: [user_regularf1s3xr0202@test-domain.com:message:received:content_viiq3s0207]

2021-05-14 22:42:15 | [Mutex] waiting for: [user_regularf1s3xr0202@test-domain.com:message:received:content_viiq3s0207]

2021-05-14 22:42:15 | [Mutex] waiting for: [user_regularf1s3xr0202@test-domain.com:message:received:content_viiq3s0207]

2021-05-14 22:42:30 | [Mutex] timeout. Not received [user_regularf1s3xr0202@test-domain.com:message:received:content_viiq3s0207]

2021-05-14 22:42:30 | [Mutex] received everything.

2021-05-14 22:42:30 | [Mutex] isItemNotified: user_regularf1s3xr0202@test-domain.com:message:received:content_viiq3s0207 :: false

2021-05-14 22:42:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_viiq3s0207 :: true