Generated by TestNG with ReportNG at 22:24 PDT on Monday 06 June 2022
root@61c39d2ed70d / 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.925s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.621s
2022-06-06 22:38:18 |

2022-06-06 22:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-06 22:38:18 | ------------------------------------

2022-06-06 22:38:18 | [Mutex] isItemNotified: node_tfv1kp0204:exists :: false

2022-06-06 22:38:18 | [Mutex] waiting for: [node_tfv1kp0204:create_node]

2022-06-06 22:38:18 | [Mutex] received everything.

2022-06-06 22:38:18 | [Mutex] isItemNotified: node_tfv1kp0204:create_node:success :: true

2022-06-06 22:38:18 | [Mutex] waiting for: [node_tfv1kp0204:subscribe_node]

2022-06-06 22:38:18 | [Mutex] received everything.

2022-06-06 22:38:18 | [Mutex] isItemNotified: node_tfv1kp0204:subscribe_node:success :: true

2022-06-06 22:38:18 |


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


2022-06-06 22:38:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:38:18 | command: <data><node>node_tfv1kp0204</node><entry><content>content_6l6hp90205</content></entry></data>

2022-06-06 22:38:18 | target: http://localhost:8088

2022-06-06 22:38:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-06 22:38:18 | entity: <data><node>node_tfv1kp0204</node><entry><content>content_6l6hp90205</content></entry></data>

2022-06-06 22:38:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:38:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:38:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a255b649-2d03-4fb9-883f-3c7c31d44f6a</value></item-id></result>

2022-06-06 22:38:18 | contains: true

2022-06-06 22:38:18 | [Mutex] received everything.

2022-06-06 22:38:18 | [Mutex] isItemNotified: user_regular96qroj0203@test-domain.com:message:received:content_6l6hp90205 :: true

2022-06-06 22:38:18 |


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


2022-06-06 22:38:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:38:18 | command: <data><node>node_tfv1kp0204</node><expire-at>2022-06-07T05:38:13Z</expire-at><entry><content>content_17a6zh0206</content></entry></data>

2022-06-06 22:38:18 | target: http://localhost:8088

2022-06-06 22:38:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-06 22:38:18 | entity: <data><node>node_tfv1kp0204</node><expire-at>2022-06-07T05:38:13Z</expire-at><entry><content>content_17a6zh0206</content></entry></data>

2022-06-06 22:38:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:38:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:38:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d9c6c529-3f79-4d3c-9474-9d1c6b75534f</value></item-id></result>

2022-06-06 22:38:18 | contains: true

2022-06-06 22:38:18 | [Mutex] waiting for: [user_regular96qroj0203@test-domain.com:message:received:content_17a6zh0206]

2022-06-06 22:38:33 | [Mutex] timeout. Not received [user_regular96qroj0203@test-domain.com:message:received:content_17a6zh0206]

2022-06-06 22:38:33 | [Mutex] isItemNotified: user_regular96qroj0203@test-domain.com:message:received:content_17a6zh0206 :: false

2022-06-06 22:38:33 |


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


2022-06-06 22:38:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:38:33 | command: <data><node>node_tfv1kp0204</node><entry><content>content_45k4yn0207</content></entry></data>

2022-06-06 22:38:33 | target: http://localhost:8088

2022-06-06 22:38:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-06 22:38:33 | entity: <data><node>node_tfv1kp0204</node><entry><content>content_45k4yn0207</content></entry></data>

2022-06-06 22:38:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:38:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:38:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bd6ce2a4-0217-49d0-9bfa-9a75b25a9812</value></item-id></result>

2022-06-06 22:38:33 | contains: true

2022-06-06 22:38:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-06 22:38:38 | [Mutex] waiting for: [user_regular96qroj0203@test-domain.com:message:received:content_45k4yn0207]

2022-06-06 22:38:38 | [Mutex] received everything.

2022-06-06 22:38:38 | [Mutex] isItemNotified: user_regular96qroj0203@test-domain.com:message:received:content_45k4yn0207 :: true

2022-06-06 22:38:38 |


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


2022-06-06 22:38:38 | [Mutex] received everything.

2022-06-06 22:38:38 | [Mutex] isItemNotified: node_tfv1kp0204:subscribe_node:success :: true

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

2022-06-06 22:38:38 | command: <data><node>node_tfv1kp0204</node><expire-at>2022-06-07T05:38:43Z</expire-at><entry><content>content_equd3p0208</content></entry></data>

2022-06-06 22:38:38 | target: http://localhost:8088

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

2022-06-06 22:38:38 | entity: <data><node>node_tfv1kp0204</node><expire-at>2022-06-07T05:38:43Z</expire-at><entry><content>content_equd3p0208</content></entry></data>

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

2022-06-06 22:38:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dd0ca194-53a8-417e-903f-e26d6321bac7</value></item-id></result>

2022-06-06 22:38:38 | contains: true

2022-06-06 22:38:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-06 22:38:46 | [Mutex] waiting for: [user_regular96qroj0203@test-domain.com:message:received:content_equd3p0208]

2022-06-06 22:38:46 | [Mutex] waiting for: [user_regular96qroj0203@test-domain.com:message:received:content_equd3p0208]

2022-06-06 22:39:01 | [Mutex] timeout. Not received [user_regular96qroj0203@test-domain.com:message:received:content_equd3p0208]

2022-06-06 22:39:01 | [Mutex] received everything.

2022-06-06 22:39:01 | [Mutex] isItemNotified: user_regular96qroj0203@test-domain.com:message:received:content_equd3p0208 :: false

2022-06-06 22:39:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_equd3p0208 :: true