Generated by TestNG with ReportNG at 22:50 PDT on Monday 26 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.537s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.702s
2021-04-26 23:05:34 |

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

2021-04-26 23:05:34 | ------------------------------------

2021-04-26 23:05:34 | [Mutex] isItemNotified: node_f22k9f0203:exists :: false

2021-04-26 23:05:34 | [Mutex] waiting for: [node_f22k9f0203:create_node]

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

2021-04-26 23:05:34 | [Mutex] isItemNotified: node_f22k9f0203:create_node:success :: true

2021-04-26 23:05:34 | [Mutex] waiting for: [node_f22k9f0203:subscribe_node]

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

2021-04-26 23:05:34 | [Mutex] isItemNotified: node_f22k9f0203:subscribe_node:success :: true

2021-04-26 23:05:34 |


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


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

2021-04-26 23:05:34 | command: <data><node>node_f22k9f0203</node><entry><content>content_kys8v50204</content></entry></data>

2021-04-26 23:05:34 | target: http://localhost:8088

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

2021-04-26 23:05:34 | entity: <data><node>node_f22k9f0203</node><entry><content>content_kys8v50204</content></entry></data>

2021-04-26 23:05:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 06:05:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 23:05:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>afbfbf7f-bc6d-486f-9b2a-f9df2bdbb5a8</value></item-id></result>

2021-04-26 23:05:34 | contains: true

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

2021-04-26 23:05:34 | [Mutex] isItemNotified: user_regularxf5fg90202@test-domain.com:message:received:content_kys8v50204 :: true

2021-04-26 23:05:34 |


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


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

2021-04-26 23:05:34 | command: <data><node>node_f22k9f0203</node><expire-at>2021-04-27T06:05:29Z</expire-at><entry><content>content_fpo5970205</content></entry></data>

2021-04-26 23:05:34 | target: http://localhost:8088

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

2021-04-26 23:05:34 | entity: <data><node>node_f22k9f0203</node><expire-at>2021-04-27T06:05:29Z</expire-at><entry><content>content_fpo5970205</content></entry></data>

2021-04-26 23:05:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 06:05:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 23:05:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>49ac452e-31fb-4fa5-802e-45414a1172f2</value></item-id></result>

2021-04-26 23:05:34 | contains: true

2021-04-26 23:05:34 | [Mutex] waiting for: [user_regularxf5fg90202@test-domain.com:message:received:content_fpo5970205]

2021-04-26 23:05:49 | [Mutex] timeout. Not received [user_regularxf5fg90202@test-domain.com:message:received:content_fpo5970205]

2021-04-26 23:05:49 | [Mutex] isItemNotified: user_regularxf5fg90202@test-domain.com:message:received:content_fpo5970205 :: false

2021-04-26 23:05:49 |


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


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

2021-04-26 23:05:49 | command: <data><node>node_f22k9f0203</node><entry><content>content_f2akkq0206</content></entry></data>

2021-04-26 23:05:49 | target: http://localhost:8088

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

2021-04-26 23:05:49 | entity: <data><node>node_f22k9f0203</node><entry><content>content_f2akkq0206</content></entry></data>

2021-04-26 23:05:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 06:05:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 23:05:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dd2d117b-0ed7-48f4-a6d6-c397988778ab</value></item-id></result>

2021-04-26 23:05:49 | contains: true

2021-04-26 23:05:54 | [Mutex] waiting for: [user_regularxf5fg90202@test-domain.com:message:received:content_f2akkq0206]

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

2021-04-26 23:05:54 | [Mutex] isItemNotified: user_regularxf5fg90202@test-domain.com:message:received:content_f2akkq0206 :: true

2021-04-26 23:05:54 |


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


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

2021-04-26 23:05:54 | [Mutex] isItemNotified: node_f22k9f0203:subscribe_node:success :: true

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

2021-04-26 23:05:54 | command: <data><node>node_f22k9f0203</node><expire-at>2021-04-27T06:05:59Z</expire-at><entry><content>content_5hhyph0207</content></entry></data>

2021-04-26 23:05:54 | target: http://localhost:8088

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

2021-04-26 23:05:54 | entity: <data><node>node_f22k9f0203</node><expire-at>2021-04-27T06:05:59Z</expire-at><entry><content>content_5hhyph0207</content></entry></data>

2021-04-26 23:05:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 06:05:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 23:05:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3408fa1-c150-4450-959d-02544833e4c5</value></item-id></result>

2021-04-26 23:05:55 | contains: true

2021-04-26 23:06:03 | [Mutex] waiting for: [user_regularxf5fg90202@test-domain.com:message:received:content_5hhyph0207]

2021-04-26 23:06:18 | [Mutex] timeout. Not received [user_regularxf5fg90202@test-domain.com:message:received:content_5hhyph0207]

2021-04-26 23:06:18 | [Mutex] received everything.

2021-04-26 23:06:18 | [Mutex] isItemNotified: user_regularxf5fg90202@test-domain.com:message:received:content_5hhyph0207 :: false

2021-04-26 23:06:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5hhyph0207 :: true