Generated by TestNG with ReportNG at 21:17 PST on Sunday 17 January 2021
root@87f6aca6b6f2 / 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.418s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.905s
2021-01-17 21:34:46 |

2021-01-17 21:34:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-17 21:34:46 | ------------------------------------

2021-01-17 21:34:46 | [Mutex] isItemNotified: node_wk91f90203:exists :: false

2021-01-17 21:34:46 | [Mutex] waiting for: [node_wk91f90203:create_node]

2021-01-17 21:34:46 | [Mutex] received everything.

2021-01-17 21:34:46 | [Mutex] isItemNotified: node_wk91f90203:create_node:success :: true

2021-01-17 21:34:46 | [Mutex] waiting for: [node_wk91f90203:subscribe_node]

2021-01-17 21:34:46 | [Mutex] received everything.

2021-01-17 21:34:46 | [Mutex] isItemNotified: node_wk91f90203:subscribe_node:success :: true

2021-01-17 21:34:46 |


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


2021-01-17 21:34:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:34:46 | command: <data><node>node_wk91f90203</node><entry><content>content_ee14xw0204</content></entry></data>

2021-01-17 21:34:46 | target: http://localhost:8088

2021-01-17 21:34:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-17 21:34:46 | entity: <data><node>node_wk91f90203</node><entry><content>content_ee14xw0204</content></entry></data>

2021-01-17 21:34:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:34:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:34:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a8494431-4084-4e04-abf5-c60068bfef48</value></item-id></result>

2021-01-17 21:34:46 | contains: true

2021-01-17 21:34:46 | [Mutex] waiting for: [user_regularpwzy8t0202@test-domain.com:message:received:content_ee14xw0204]

2021-01-17 21:34:46 | [Mutex] received everything.

2021-01-17 21:34:46 | [Mutex] isItemNotified: user_regularpwzy8t0202@test-domain.com:message:received:content_ee14xw0204 :: true

2021-01-17 21:34:46 |


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


2021-01-17 21:34:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:34:46 | command: <data><node>node_wk91f90203</node><expire-at>2021-01-18T05:34:41Z</expire-at><entry><content>content_8ptz030205</content></entry></data>

2021-01-17 21:34:46 | target: http://localhost:8088

2021-01-17 21:34:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-17 21:34:46 | entity: <data><node>node_wk91f90203</node><expire-at>2021-01-18T05:34:41Z</expire-at><entry><content>content_8ptz030205</content></entry></data>

2021-01-17 21:34:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:34:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:34:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55fa0a24-1b96-4812-85d0-42539f238f47</value></item-id></result>

2021-01-17 21:34:46 | contains: true

2021-01-17 21:34:46 | [Mutex] waiting for: [user_regularpwzy8t0202@test-domain.com:message:received:content_8ptz030205]

2021-01-17 21:35:01 | [Mutex] timeout. Not received [user_regularpwzy8t0202@test-domain.com:message:received:content_8ptz030205]

2021-01-17 21:35:01 | [Mutex] isItemNotified: user_regularpwzy8t0202@test-domain.com:message:received:content_8ptz030205 :: false

2021-01-17 21:35:01 |


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


2021-01-17 21:35:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:35:01 | command: <data><node>node_wk91f90203</node><entry><content>content_jzanxa0206</content></entry></data>

2021-01-17 21:35:01 | target: http://localhost:8088

2021-01-17 21:35:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-17 21:35:01 | entity: <data><node>node_wk91f90203</node><entry><content>content_jzanxa0206</content></entry></data>

2021-01-17 21:35:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:35:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:35:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>099d951d-4cbf-4992-a086-62f282e6e88c</value></item-id></result>

2021-01-17 21:35:01 | contains: true

2021-01-17 21:35:06 | [Mutex] waiting for: [user_regularpwzy8t0202@test-domain.com:message:received:content_jzanxa0206]

2021-01-17 21:35:06 | [Mutex] waiting for: [user_regularpwzy8t0202@test-domain.com:message:received:content_jzanxa0206]

2021-01-17 21:35:06 | [Mutex] received everything.

2021-01-17 21:35:06 | [Mutex] isItemNotified: user_regularpwzy8t0202@test-domain.com:message:received:content_jzanxa0206 :: true

2021-01-17 21:35:06 |


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


2021-01-17 21:35:06 | [Mutex] received everything.

2021-01-17 21:35:06 | [Mutex] isItemNotified: node_wk91f90203:subscribe_node:success :: true

2021-01-17 21:35:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:35:06 | command: <data><node>node_wk91f90203</node><expire-at>2021-01-18T05:35:11Z</expire-at><entry><content>content_uyq6fk0207</content></entry></data>

2021-01-17 21:35:06 | target: http://localhost:8088

2021-01-17 21:35:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-17 21:35:06 | entity: <data><node>node_wk91f90203</node><expire-at>2021-01-18T05:35:11Z</expire-at><entry><content>content_uyq6fk0207</content></entry></data>

2021-01-17 21:35:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:35:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:35:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b3463740-8fcc-40a4-9258-5a2c6ee0baa4</value></item-id></result>

2021-01-17 21:35:06 | contains: true

2021-01-17 21:35:14 | [Mutex] waiting for: [user_regularpwzy8t0202@test-domain.com:message:received:content_uyq6fk0207]

2021-01-17 21:35:29 | [Mutex] timeout. Not received [user_regularpwzy8t0202@test-domain.com:message:received:content_uyq6fk0207]

2021-01-17 21:35:29 | [Mutex] received everything.

2021-01-17 21:35:29 | [Mutex] isItemNotified: user_regularpwzy8t0202@test-domain.com:message:received:content_uyq6fk0207 :: false

2021-01-17 21:35:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uyq6fk0207 :: true