Generated by TestNG with ReportNG at 22:19 PDT on Thursday 23 June 2022
root@21fb2cc9076b / 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.829s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.749s
2022-06-23 22:34:13 |

2022-06-23 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-23 22:34:13 | ------------------------------------

2022-06-23 22:34:13 | [Mutex] isItemNotified: node_nsrkkc0204:exists :: false

2022-06-23 22:34:13 | [Mutex] waiting for: [node_nsrkkc0204:create_node]

2022-06-23 22:34:13 | [Mutex] waiting for: [node_nsrkkc0204:create_node]

2022-06-23 22:34:13 | [Mutex] received everything.

2022-06-23 22:34:13 | [Mutex] isItemNotified: node_nsrkkc0204:create_node:success :: true

2022-06-23 22:34:13 | [Mutex] waiting for: [node_nsrkkc0204:subscribe_node]

2022-06-23 22:34:13 | [Mutex] waiting for: [node_nsrkkc0204:subscribe_node]

2022-06-23 22:34:13 | [Mutex] received everything.

2022-06-23 22:34:13 | [Mutex] isItemNotified: node_nsrkkc0204:subscribe_node:success :: true

2022-06-23 22:34:13 |


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


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

2022-06-23 22:34:13 | command: <data><node>node_nsrkkc0204</node><entry><content>content_rygv9c0205</content></entry></data>

2022-06-23 22:34:13 | target: http://localhost:8088

2022-06-23 22:34:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-23 22:34:13 | entity: <data><node>node_nsrkkc0204</node><entry><content>content_rygv9c0205</content></entry></data>

2022-06-23 22:34:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:34:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-23 22:34:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eef25d7f-f069-402e-b170-23470ff588e5</value></item-id></result>

2022-06-23 22:34:13 | contains: true

2022-06-23 22:34:13 | [Mutex] waiting for: [user_regularjdaxxl0203@test-domain.com:message:received:content_rygv9c0205]

2022-06-23 22:34:13 | [Mutex] received everything.

2022-06-23 22:34:13 | [Mutex] isItemNotified: user_regularjdaxxl0203@test-domain.com:message:received:content_rygv9c0205 :: true

2022-06-23 22:34:13 |


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


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

2022-06-23 22:34:13 | command: <data><node>node_nsrkkc0204</node><expire-at>2022-06-24T05:34:08Z</expire-at><entry><content>content_ddhcyg0206</content></entry></data>

2022-06-23 22:34:13 | target: http://localhost:8088

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

2022-06-23 22:34:13 | entity: <data><node>node_nsrkkc0204</node><expire-at>2022-06-24T05:34:08Z</expire-at><entry><content>content_ddhcyg0206</content></entry></data>

2022-06-23 22:34:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:34:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-23 22:34:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9308104c-e1e8-44bc-a989-e8d6dfbf68c7</value></item-id></result>

2022-06-23 22:34:13 | contains: true

2022-06-23 22:34:13 | [Mutex] waiting for: [user_regularjdaxxl0203@test-domain.com:message:received:content_ddhcyg0206]

2022-06-23 22:34:28 | [Mutex] timeout. Not received [user_regularjdaxxl0203@test-domain.com:message:received:content_ddhcyg0206]

2022-06-23 22:34:28 | [Mutex] isItemNotified: user_regularjdaxxl0203@test-domain.com:message:received:content_ddhcyg0206 :: false

2022-06-23 22:34:28 |


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


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

2022-06-23 22:34:28 | command: <data><node>node_nsrkkc0204</node><entry><content>content_onmmcv0207</content></entry></data>

2022-06-23 22:34:28 | target: http://localhost:8088

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

2022-06-23 22:34:28 | entity: <data><node>node_nsrkkc0204</node><entry><content>content_onmmcv0207</content></entry></data>

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

2022-06-23 22:34:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>49a8872e-5245-46a2-bc42-a015ddd902df</value></item-id></result>

2022-06-23 22:34:28 | contains: true

2022-06-23 22:34:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-23 22:34:33 | [Mutex] waiting for: [user_regularjdaxxl0203@test-domain.com:message:received:content_onmmcv0207]

2022-06-23 22:34:33 | [Mutex] waiting for: [user_regularjdaxxl0203@test-domain.com:message:received:content_onmmcv0207]

2022-06-23 22:34:33 | [Mutex] received everything.

2022-06-23 22:34:33 | [Mutex] isItemNotified: user_regularjdaxxl0203@test-domain.com:message:received:content_onmmcv0207 :: true

2022-06-23 22:34:33 |


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


2022-06-23 22:34:33 | [Mutex] received everything.

2022-06-23 22:34:33 | [Mutex] isItemNotified: node_nsrkkc0204:subscribe_node:success :: true

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

2022-06-23 22:34:33 | command: <data><node>node_nsrkkc0204</node><expire-at>2022-06-24T05:34:38Z</expire-at><entry><content>content_fwhb3r0208</content></entry></data>

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

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

2022-06-23 22:34:33 | entity: <data><node>node_nsrkkc0204</node><expire-at>2022-06-24T05:34:38Z</expire-at><entry><content>content_fwhb3r0208</content></entry></data>

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

2022-06-23 22:34:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c26c5ab-2d4a-42a9-8803-b1051369975f</value></item-id></result>

2022-06-23 22:34:33 | contains: true

2022-06-23 22:34:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-23 22:34:42 | [Mutex] waiting for: [user_regularjdaxxl0203@test-domain.com:message:received:content_fwhb3r0208]

2022-06-23 22:34:57 | [Mutex] timeout. Not received [user_regularjdaxxl0203@test-domain.com:message:received:content_fwhb3r0208]

2022-06-23 22:34:57 | [Mutex] received everything.

2022-06-23 22:34:57 | [Mutex] isItemNotified: user_regularjdaxxl0203@test-domain.com:message:received:content_fwhb3r0208 :: false

2022-06-23 22:34:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fwhb3r0208 :: true