Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 26 May 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.781s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.867s
2021-05-26 23:01:18 |

2021-05-26 23:01:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-26 23:01:18 | ------------------------------------

2021-05-26 23:01:18 | [Mutex] isItemNotified: node_47vdw00203:exists :: false

2021-05-26 23:01:18 | [Mutex] waiting for: [node_47vdw00203:create_node]

2021-05-26 23:01:18 | [Mutex] received everything.

2021-05-26 23:01:18 | [Mutex] isItemNotified: node_47vdw00203:create_node:success :: true

2021-05-26 23:01:18 | [Mutex] waiting for: [node_47vdw00203:subscribe_node]

2021-05-26 23:01:18 | [Mutex] waiting for: [node_47vdw00203:subscribe_node]

2021-05-26 23:01:18 | [Mutex] received everything.

2021-05-26 23:01:18 | [Mutex] isItemNotified: node_47vdw00203:subscribe_node:success :: true

2021-05-26 23:01:18 |


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


2021-05-26 23:01:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 23:01:18 | command: <data><node>node_47vdw00203</node><entry><content>content_getdjw0204</content></entry></data>

2021-05-26 23:01:18 | target: http://localhost:8088

2021-05-26 23:01:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-26 23:01:18 | entity: <data><node>node_47vdw00203</node><entry><content>content_getdjw0204</content></entry></data>

2021-05-26 23:01:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 06:01:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 23:01:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b6f54589-9eec-4f22-a45e-643731b98e04</value></item-id></result>

2021-05-26 23:01:18 | contains: true

2021-05-26 23:01:18 | [Mutex] received everything.

2021-05-26 23:01:18 | [Mutex] isItemNotified: user_regularkboavy0202@test-domain.com:message:received:content_getdjw0204 :: true

2021-05-26 23:01:18 |


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


2021-05-26 23:01:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 23:01:18 | command: <data><node>node_47vdw00203</node><expire-at>2021-05-27T06:01:13Z</expire-at><entry><content>content_2kvc660205</content></entry></data>

2021-05-26 23:01:18 | target: http://localhost:8088

2021-05-26 23:01:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-26 23:01:18 | entity: <data><node>node_47vdw00203</node><expire-at>2021-05-27T06:01:13Z</expire-at><entry><content>content_2kvc660205</content></entry></data>

2021-05-26 23:01:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 06:01:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 23:01:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>478d798e-5a77-484b-b2ef-6eb5e1c03cd9</value></item-id></result>

2021-05-26 23:01:18 | contains: true

2021-05-26 23:01:18 | [Mutex] waiting for: [user_regularkboavy0202@test-domain.com:message:received:content_2kvc660205]

2021-05-26 23:01:33 | [Mutex] timeout. Not received [user_regularkboavy0202@test-domain.com:message:received:content_2kvc660205]

2021-05-26 23:01:33 | [Mutex] isItemNotified: user_regularkboavy0202@test-domain.com:message:received:content_2kvc660205 :: false

2021-05-26 23:01:33 |


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


2021-05-26 23:01:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 23:01:33 | command: <data><node>node_47vdw00203</node><entry><content>content_p8210v0206</content></entry></data>

2021-05-26 23:01:33 | target: http://localhost:8088

2021-05-26 23:01:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-26 23:01:33 | entity: <data><node>node_47vdw00203</node><entry><content>content_p8210v0206</content></entry></data>

2021-05-26 23:01:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 06:01:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 23:01:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>82529a49-b7c3-4d5a-bd00-5b614437adfd</value></item-id></result>

2021-05-26 23:01:33 | contains: true

2021-05-26 23:01:39 | [Mutex] waiting for: [user_regularkboavy0202@test-domain.com:message:received:content_p8210v0206]

2021-05-26 23:01:39 | [Mutex] waiting for: [user_regularkboavy0202@test-domain.com:message:received:content_p8210v0206]

2021-05-26 23:01:39 | [Mutex] received everything.

2021-05-26 23:01:39 | [Mutex] isItemNotified: user_regularkboavy0202@test-domain.com:message:received:content_p8210v0206 :: true

2021-05-26 23:01:39 |


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


2021-05-26 23:01:39 | [Mutex] received everything.

2021-05-26 23:01:39 | [Mutex] isItemNotified: node_47vdw00203:subscribe_node:success :: true

2021-05-26 23:01:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 23:01:39 | command: <data><node>node_47vdw00203</node><expire-at>2021-05-27T06:01:44Z</expire-at><entry><content>content_98hmo50207</content></entry></data>

2021-05-26 23:01:39 | target: http://localhost:8088

2021-05-26 23:01:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-26 23:01:39 | entity: <data><node>node_47vdw00203</node><expire-at>2021-05-27T06:01:44Z</expire-at><entry><content>content_98hmo50207</content></entry></data>

2021-05-26 23:01:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 06:01:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 23:01:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>df9d5094-03d3-424e-86b6-31d46e9c1e59</value></item-id></result>

2021-05-26 23:01:39 | contains: true

2021-05-26 23:01:47 | [Mutex] waiting for: [user_regularkboavy0202@test-domain.com:message:received:content_98hmo50207]

2021-05-26 23:02:02 | [Mutex] timeout. Not received [user_regularkboavy0202@test-domain.com:message:received:content_98hmo50207]

2021-05-26 23:02:02 | [Mutex] received everything.

2021-05-26 23:02:02 | [Mutex] isItemNotified: user_regularkboavy0202@test-domain.com:message:received:content_98hmo50207 :: false

2021-05-26 23:02:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_98hmo50207 :: true