Generated by TestNG with ReportNG at 22:15 PDT on Wednesday 28 April 2021
root@b2c2a8eba6e6 / 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.458s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.701s
2021-04-28 22:30:08 |

2021-04-28 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-28 22:30:08 | ------------------------------------

2021-04-28 22:30:08 | [Mutex] isItemNotified: node_ns4wei0203:exists :: false

2021-04-28 22:30:08 | [Mutex] waiting for: [node_ns4wei0203:create_node]

2021-04-28 22:30:08 | [Mutex] received everything.

2021-04-28 22:30:08 | [Mutex] isItemNotified: node_ns4wei0203:create_node:success :: true

2021-04-28 22:30:08 | [Mutex] waiting for: [node_ns4wei0203:subscribe_node]

2021-04-28 22:30:09 | [Mutex] received everything.

2021-04-28 22:30:09 | [Mutex] isItemNotified: node_ns4wei0203:subscribe_node:success :: true

2021-04-28 22:30:09 |


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


2021-04-28 22:30:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-28 22:30:09 | command: <data><node>node_ns4wei0203</node><entry><content>content_7fle5m0204</content></entry></data>

2021-04-28 22:30:09 | target: http://localhost:8088

2021-04-28 22:30:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-28 22:30:09 | entity: <data><node>node_ns4wei0203</node><entry><content>content_7fle5m0204</content></entry></data>

2021-04-28 22:30:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:30:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-28 22:30:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0e97a34c-475d-4a26-9585-f26b071da954</value></item-id></result>

2021-04-28 22:30:09 | contains: true

2021-04-28 22:30:09 | [Mutex] received everything.

2021-04-28 22:30:09 | [Mutex] isItemNotified: user_regulari6y4wz0202@test-domain.com:message:received:content_7fle5m0204 :: true

2021-04-28 22:30:09 |


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


2021-04-28 22:30:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-28 22:30:09 | command: <data><node>node_ns4wei0203</node><expire-at>2021-04-29T05:30:04Z</expire-at><entry><content>content_2zcmfr0205</content></entry></data>

2021-04-28 22:30:09 | target: http://localhost:8088

2021-04-28 22:30:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-28 22:30:09 | entity: <data><node>node_ns4wei0203</node><expire-at>2021-04-29T05:30:04Z</expire-at><entry><content>content_2zcmfr0205</content></entry></data>

2021-04-28 22:30:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:30:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-28 22:30:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6a6d1eff-871a-48db-ad79-36c0f7f72f3d</value></item-id></result>

2021-04-28 22:30:09 | contains: true

2021-04-28 22:30:09 | [Mutex] waiting for: [user_regulari6y4wz0202@test-domain.com:message:received:content_2zcmfr0205]

2021-04-28 22:30:24 | [Mutex] timeout. Not received [user_regulari6y4wz0202@test-domain.com:message:received:content_2zcmfr0205]

2021-04-28 22:30:24 | [Mutex] isItemNotified: user_regulari6y4wz0202@test-domain.com:message:received:content_2zcmfr0205 :: false

2021-04-28 22:30:24 |


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


2021-04-28 22:30:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-28 22:30:24 | command: <data><node>node_ns4wei0203</node><entry><content>content_vt5gcr0206</content></entry></data>

2021-04-28 22:30:24 | target: http://localhost:8088

2021-04-28 22:30:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-28 22:30:24 | entity: <data><node>node_ns4wei0203</node><entry><content>content_vt5gcr0206</content></entry></data>

2021-04-28 22:30:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:30:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-28 22:30:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0002ac54-d78c-4fce-979f-cb777c8352b8</value></item-id></result>

2021-04-28 22:30:24 | contains: true

2021-04-28 22:30:29 | [Mutex] waiting for: [user_regulari6y4wz0202@test-domain.com:message:received:content_vt5gcr0206]

2021-04-28 22:30:29 | [Mutex] received everything.

2021-04-28 22:30:29 | [Mutex] isItemNotified: user_regulari6y4wz0202@test-domain.com:message:received:content_vt5gcr0206 :: true

2021-04-28 22:30:29 |


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


2021-04-28 22:30:29 | [Mutex] received everything.

2021-04-28 22:30:29 | [Mutex] isItemNotified: node_ns4wei0203:subscribe_node:success :: true

2021-04-28 22:30:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-28 22:30:29 | command: <data><node>node_ns4wei0203</node><expire-at>2021-04-29T05:30:34Z</expire-at><entry><content>content_phbn8d0207</content></entry></data>

2021-04-28 22:30:29 | target: http://localhost:8088

2021-04-28 22:30:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-28 22:30:29 | entity: <data><node>node_ns4wei0203</node><expire-at>2021-04-29T05:30:34Z</expire-at><entry><content>content_phbn8d0207</content></entry></data>

2021-04-28 22:30:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:30:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-28 22:30:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2d0018e3-ce74-46b0-ba25-d157e8a61c20</value></item-id></result>

2021-04-28 22:30:29 | contains: true

2021-04-28 22:30:37 | [Mutex] waiting for: [user_regulari6y4wz0202@test-domain.com:message:received:content_phbn8d0207]

2021-04-28 22:30:52 | [Mutex] timeout. Not received [user_regulari6y4wz0202@test-domain.com:message:received:content_phbn8d0207]

2021-04-28 22:30:52 | [Mutex] received everything.

2021-04-28 22:30:52 | [Mutex] isItemNotified: user_regulari6y4wz0202@test-domain.com:message:received:content_phbn8d0207 :: false

2021-04-28 22:30:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_phbn8d0207 :: true