Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 21 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 44.792s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.605s
2022-06-21 22:32:28 |

2022-06-21 22:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-21 22:32:28 | ------------------------------------

2022-06-21 22:32:28 | [Mutex] isItemNotified: node_qsngqn0204:exists :: false

2022-06-21 22:32:28 | [Mutex] waiting for: [node_qsngqn0204:create_node]

2022-06-21 22:32:28 | [Mutex] received everything.

2022-06-21 22:32:28 | [Mutex] isItemNotified: node_qsngqn0204:create_node:success :: true

2022-06-21 22:32:28 | [Mutex] waiting for: [node_qsngqn0204:subscribe_node]

2022-06-21 22:32:28 | [Mutex] waiting for: [node_qsngqn0204:subscribe_node]

2022-06-21 22:32:28 | [Mutex] received everything.

2022-06-21 22:32:28 | [Mutex] isItemNotified: node_qsngqn0204:subscribe_node:success :: true

2022-06-21 22:32:28 |


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


2022-06-21 22:32:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:32:28 | command: <data><node>node_qsngqn0204</node><entry><content>content_95d0no0205</content></entry></data>

2022-06-21 22:32:28 | target: http://localhost:8088

2022-06-21 22:32:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-21 22:32:28 | entity: <data><node>node_qsngqn0204</node><entry><content>content_95d0no0205</content></entry></data>

2022-06-21 22:32:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:32:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:32:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>896bf301-8467-4bdc-ba09-e830127a526f</value></item-id></result>

2022-06-21 22:32:28 | contains: true

2022-06-21 22:32:28 | [Mutex] waiting for: [user_regular12c1r80203@test-domain.com:message:received:content_95d0no0205]

2022-06-21 22:32:28 | [Mutex] received everything.

2022-06-21 22:32:28 | [Mutex] isItemNotified: user_regular12c1r80203@test-domain.com:message:received:content_95d0no0205 :: true

2022-06-21 22:32:28 |


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


2022-06-21 22:32:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:32:28 | command: <data><node>node_qsngqn0204</node><expire-at>2022-06-22T05:32:23Z</expire-at><entry><content>content_9b64yo0206</content></entry></data>

2022-06-21 22:32:28 | target: http://localhost:8088

2022-06-21 22:32:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-21 22:32:28 | entity: <data><node>node_qsngqn0204</node><expire-at>2022-06-22T05:32:23Z</expire-at><entry><content>content_9b64yo0206</content></entry></data>

2022-06-21 22:32:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:32:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:32:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1afd31c-07d1-4269-be6c-189bcb8f11c9</value></item-id></result>

2022-06-21 22:32:28 | contains: true

2022-06-21 22:32:28 | [Mutex] waiting for: [user_regular12c1r80203@test-domain.com:message:received:content_9b64yo0206]

2022-06-21 22:32:43 | [Mutex] timeout. Not received [user_regular12c1r80203@test-domain.com:message:received:content_9b64yo0206]

2022-06-21 22:32:43 | [Mutex] isItemNotified: user_regular12c1r80203@test-domain.com:message:received:content_9b64yo0206 :: false

2022-06-21 22:32:43 |


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


2022-06-21 22:32:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:32:43 | command: <data><node>node_qsngqn0204</node><entry><content>content_cwa8nl0207</content></entry></data>

2022-06-21 22:32:43 | target: http://localhost:8088

2022-06-21 22:32:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-21 22:32:43 | entity: <data><node>node_qsngqn0204</node><entry><content>content_cwa8nl0207</content></entry></data>

2022-06-21 22:32:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:32:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:32:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>629414d2-10d3-4d8e-86c9-08e61805ab48</value></item-id></result>

2022-06-21 22:32:43 | contains: true

2022-06-21 22:32:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-21 22:32:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-21 22:32:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-21 22:32:48 | [Mutex] waiting for: [user_regular12c1r80203@test-domain.com:message:received:content_cwa8nl0207]

2022-06-21 22:32:48 | [Mutex] waiting for: [user_regular12c1r80203@test-domain.com:message:received:content_cwa8nl0207]

2022-06-21 22:32:48 | [Mutex] received everything.

2022-06-21 22:32:48 | [Mutex] isItemNotified: user_regular12c1r80203@test-domain.com:message:received:content_cwa8nl0207 :: true

2022-06-21 22:32:48 |


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


2022-06-21 22:32:48 | [Mutex] received everything.

2022-06-21 22:32:48 | [Mutex] isItemNotified: node_qsngqn0204:subscribe_node:success :: true

2022-06-21 22:32:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:32:48 | command: <data><node>node_qsngqn0204</node><expire-at>2022-06-22T05:32:53Z</expire-at><entry><content>content_mclvvm0208</content></entry></data>

2022-06-21 22:32:48 | target: http://localhost:8088

2022-06-21 22:32:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-21 22:32:48 | entity: <data><node>node_qsngqn0204</node><expire-at>2022-06-22T05:32:53Z</expire-at><entry><content>content_mclvvm0208</content></entry></data>

2022-06-21 22:32:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:32:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:32:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>af46169d-33c7-4359-84a8-b9cbd65cf8f4</value></item-id></result>

2022-06-21 22:32:48 | contains: true

2022-06-21 22:32:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-21 22:32:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-21 22:32:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-21 22:32:56 | [Mutex] waiting for: [user_regular12c1r80203@test-domain.com:message:received:content_mclvvm0208]

2022-06-21 22:32:56 | [Mutex] waiting for: [user_regular12c1r80203@test-domain.com:message:received:content_mclvvm0208]

2022-06-21 22:33:11 | [Mutex] timeout. Not received [user_regular12c1r80203@test-domain.com:message:received:content_mclvvm0208]

2022-06-21 22:33:11 | [Mutex] received everything.

2022-06-21 22:33:11 | [Mutex] isItemNotified: user_regular12c1r80203@test-domain.com:message:received:content_mclvvm0208 :: false

2022-06-21 22:33:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mclvvm0208 :: true