Generated by TestNG with ReportNG at 22:51 PDT on Thursday 25 March 2021
root@43fec6d4badf / 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.684s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.689s
2021-03-25 23:06:47 |

2021-03-25 23:06:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-25 23:06:47 | ------------------------------------

2021-03-25 23:06:47 | [Mutex] isItemNotified: node_js47ob0203:exists :: false

2021-03-25 23:06:47 | [Mutex] waiting for: [node_js47ob0203:create_node]

2021-03-25 23:06:47 | [Mutex] received everything.

2021-03-25 23:06:47 | [Mutex] isItemNotified: node_js47ob0203:create_node:success :: true

2021-03-25 23:06:47 | [Mutex] waiting for: [node_js47ob0203:subscribe_node]

2021-03-25 23:06:47 | [Mutex] received everything.

2021-03-25 23:06:47 | [Mutex] isItemNotified: node_js47ob0203:subscribe_node:success :: true

2021-03-25 23:06:47 |


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


2021-03-25 23:06:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 23:06:47 | command: <data><node>node_js47ob0203</node><entry><content>content_dd1hhj0204</content></entry></data>

2021-03-25 23:06:47 | target: http://localhost:8088

2021-03-25 23:06:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-25 23:06:47 | entity: <data><node>node_js47ob0203</node><entry><content>content_dd1hhj0204</content></entry></data>

2021-03-25 23:06:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 06:06:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 23:06:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e59a450d-2c84-4e47-99a4-1fe7786d2e34</value></item-id></result>

2021-03-25 23:06:47 | contains: true

2021-03-25 23:06:47 | [Mutex] waiting for: [user_regularqfdp1v0202@test-domain.com:message:received:content_dd1hhj0204]

2021-03-25 23:06:47 | [Mutex] received everything.

2021-03-25 23:06:47 | [Mutex] isItemNotified: user_regularqfdp1v0202@test-domain.com:message:received:content_dd1hhj0204 :: true

2021-03-25 23:06:47 |


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


2021-03-25 23:06:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 23:06:47 | command: <data><node>node_js47ob0203</node><expire-at>2021-03-26T06:06:42Z</expire-at><entry><content>content_reotx70205</content></entry></data>

2021-03-25 23:06:47 | target: http://localhost:8088

2021-03-25 23:06:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-25 23:06:47 | entity: <data><node>node_js47ob0203</node><expire-at>2021-03-26T06:06:42Z</expire-at><entry><content>content_reotx70205</content></entry></data>

2021-03-25 23:06:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 06:06:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 23:06:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>85c56570-a73d-4076-a170-913ffd6c9eed</value></item-id></result>

2021-03-25 23:06:47 | contains: true

2021-03-25 23:06:47 | [Mutex] waiting for: [user_regularqfdp1v0202@test-domain.com:message:received:content_reotx70205]

2021-03-25 23:07:02 | [Mutex] timeout. Not received [user_regularqfdp1v0202@test-domain.com:message:received:content_reotx70205]

2021-03-25 23:07:02 | [Mutex] isItemNotified: user_regularqfdp1v0202@test-domain.com:message:received:content_reotx70205 :: false

2021-03-25 23:07:02 |


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


2021-03-25 23:07:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 23:07:02 | command: <data><node>node_js47ob0203</node><entry><content>content_1cq27i0206</content></entry></data>

2021-03-25 23:07:02 | target: http://localhost:8088

2021-03-25 23:07:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-25 23:07:02 | entity: <data><node>node_js47ob0203</node><entry><content>content_1cq27i0206</content></entry></data>

2021-03-25 23:07:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 06:07:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 23:07:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>de3a734a-9664-4066-8f0b-ef438dd3229c</value></item-id></result>

2021-03-25 23:07:02 | contains: true

2021-03-25 23:07:08 | [Mutex] waiting for: [user_regularqfdp1v0202@test-domain.com:message:received:content_1cq27i0206]

2021-03-25 23:07:08 | [Mutex] received everything.

2021-03-25 23:07:08 | [Mutex] isItemNotified: user_regularqfdp1v0202@test-domain.com:message:received:content_1cq27i0206 :: true

2021-03-25 23:07:08 |


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


2021-03-25 23:07:08 | [Mutex] received everything.

2021-03-25 23:07:08 | [Mutex] isItemNotified: node_js47ob0203:subscribe_node:success :: true

2021-03-25 23:07:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 23:07:08 | command: <data><node>node_js47ob0203</node><expire-at>2021-03-26T06:07:13Z</expire-at><entry><content>content_o2l7q60207</content></entry></data>

2021-03-25 23:07:08 | target: http://localhost:8088

2021-03-25 23:07:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-25 23:07:08 | entity: <data><node>node_js47ob0203</node><expire-at>2021-03-26T06:07:13Z</expire-at><entry><content>content_o2l7q60207</content></entry></data>

2021-03-25 23:07:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 06:07:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 23:07:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>01134ea2-4a9e-49ac-9628-b1f1c57c5c2d</value></item-id></result>

2021-03-25 23:07:08 | contains: true

2021-03-25 23:07:16 | [Mutex] waiting for: [user_regularqfdp1v0202@test-domain.com:message:received:content_o2l7q60207]

2021-03-25 23:07:16 | [Mutex] waiting for: [user_regularqfdp1v0202@test-domain.com:message:received:content_o2l7q60207]

2021-03-25 23:07:31 | [Mutex] timeout. Not received [user_regularqfdp1v0202@test-domain.com:message:received:content_o2l7q60207]

2021-03-25 23:07:31 | [Mutex] received everything.

2021-03-25 23:07:31 | [Mutex] isItemNotified: user_regularqfdp1v0202@test-domain.com:message:received:content_o2l7q60207 :: false

2021-03-25 23:07:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o2l7q60207 :: true