Generated by TestNG with ReportNG at 22:21 PDT on Monday 20 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.670s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.662s
2022-06-20 22:35:42 |

2022-06-20 22:35:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-20 22:35:42 | ------------------------------------

2022-06-20 22:35:42 | [Mutex] isItemNotified: node_nv5ldk0204:exists :: false

2022-06-20 22:35:42 | [Mutex] waiting for: [node_nv5ldk0204:create_node]

2022-06-20 22:35:42 | [Mutex] received everything.

2022-06-20 22:35:42 | [Mutex] isItemNotified: node_nv5ldk0204:create_node:success :: true

2022-06-20 22:35:42 | [Mutex] waiting for: [node_nv5ldk0204:subscribe_node]

2022-06-20 22:35:42 | [Mutex] received everything.

2022-06-20 22:35:42 | [Mutex] isItemNotified: node_nv5ldk0204:subscribe_node:success :: true

2022-06-20 22:35:42 |


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


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

2022-06-20 22:35:42 | command: <data><node>node_nv5ldk0204</node><entry><content>content_yosqn60205</content></entry></data>

2022-06-20 22:35:42 | target: http://localhost:8088

2022-06-20 22:35:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-20 22:35:42 | entity: <data><node>node_nv5ldk0204</node><entry><content>content_yosqn60205</content></entry></data>

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

2022-06-20 22:35:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6b7f6628-ddaf-4f88-b944-af62a21cb49a</value></item-id></result>

2022-06-20 22:35:42 | contains: true

2022-06-20 22:35:42 | [Mutex] received everything.

2022-06-20 22:35:42 | [Mutex] isItemNotified: user_regularl00ik30203@test-domain.com:message:received:content_yosqn60205 :: true

2022-06-20 22:35:42 |


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


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

2022-06-20 22:35:42 | command: <data><node>node_nv5ldk0204</node><expire-at>2022-06-21T05:35:37Z</expire-at><entry><content>content_1rzec70206</content></entry></data>

2022-06-20 22:35:42 | target: http://localhost:8088

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

2022-06-20 22:35:42 | entity: <data><node>node_nv5ldk0204</node><expire-at>2022-06-21T05:35:37Z</expire-at><entry><content>content_1rzec70206</content></entry></data>

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

2022-06-20 22:35:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8c14101-3b0c-47b6-9a4f-48e53ab61df4</value></item-id></result>

2022-06-20 22:35:42 | contains: true

2022-06-20 22:35:42 | [Mutex] waiting for: [user_regularl00ik30203@test-domain.com:message:received:content_1rzec70206]

2022-06-20 22:35:57 | [Mutex] timeout. Not received [user_regularl00ik30203@test-domain.com:message:received:content_1rzec70206]

2022-06-20 22:35:57 | [Mutex] isItemNotified: user_regularl00ik30203@test-domain.com:message:received:content_1rzec70206 :: false

2022-06-20 22:35:57 |


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


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

2022-06-20 22:35:57 | command: <data><node>node_nv5ldk0204</node><entry><content>content_5kw45f0207</content></entry></data>

2022-06-20 22:35:57 | target: http://localhost:8088

2022-06-20 22:35:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-20 22:35:57 | entity: <data><node>node_nv5ldk0204</node><entry><content>content_5kw45f0207</content></entry></data>

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

2022-06-20 22:35:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>484b0f3d-5be0-4443-8a29-41b82e0cd831</value></item-id></result>

2022-06-20 22:35:57 | contains: true

2022-06-20 22:36:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-20 22:36:02 | [Mutex] waiting for: [user_regularl00ik30203@test-domain.com:message:received:content_5kw45f0207]

2022-06-20 22:36:02 | [Mutex] waiting for: [user_regularl00ik30203@test-domain.com:message:received:content_5kw45f0207]

2022-06-20 22:36:02 | [Mutex] received everything.

2022-06-20 22:36:02 | [Mutex] isItemNotified: user_regularl00ik30203@test-domain.com:message:received:content_5kw45f0207 :: true

2022-06-20 22:36:02 |


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


2022-06-20 22:36:02 | [Mutex] received everything.

2022-06-20 22:36:02 | [Mutex] isItemNotified: node_nv5ldk0204:subscribe_node:success :: true

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

2022-06-20 22:36:02 | command: <data><node>node_nv5ldk0204</node><expire-at>2022-06-21T05:36:07Z</expire-at><entry><content>content_qmywar0208</content></entry></data>

2022-06-20 22:36:02 | target: http://localhost:8088

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

2022-06-20 22:36:02 | entity: <data><node>node_nv5ldk0204</node><expire-at>2022-06-21T05:36:07Z</expire-at><entry><content>content_qmywar0208</content></entry></data>

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

2022-06-20 22:36:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a8428f9-5b3b-4a61-bdd3-61e418e38113</value></item-id></result>

2022-06-20 22:36:02 | contains: true

2022-06-20 22:36:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-20 22:36:10 | [Mutex] waiting for: [user_regularl00ik30203@test-domain.com:message:received:content_qmywar0208]

2022-06-20 22:36:10 | [Mutex] waiting for: [user_regularl00ik30203@test-domain.com:message:received:content_qmywar0208]

2022-06-20 22:36:10 | [Mutex] waiting for: [user_regularl00ik30203@test-domain.com:message:received:content_qmywar0208]

2022-06-20 22:36:25 | [Mutex] timeout. Not received [user_regularl00ik30203@test-domain.com:message:received:content_qmywar0208]

2022-06-20 22:36:25 | [Mutex] received everything.

2022-06-20 22:36:25 | [Mutex] isItemNotified: user_regularl00ik30203@test-domain.com:message:received:content_qmywar0208 :: false

2022-06-20 22:36:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qmywar0208 :: true