Generated by TestNG with ReportNG at 22:16 PDT on Wednesday 24 May 2023
root@1512af24e4a5 / Java 17.0.6 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.680s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.589s
2023-05-24 22:30:58 |

2023-05-24 22:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-24 22:30:58 | ------------------------------------

2023-05-24 22:30:58 | [Mutex] isItemNotified: node_rtrspz0208:exists :: false

2023-05-24 22:30:58 | [Mutex] waiting for: [node_rtrspz0208:create_node]

2023-05-24 22:30:58 | [Mutex] waiting for: [node_rtrspz0208:create_node]

2023-05-24 22:30:58 | [Mutex] received everything.

2023-05-24 22:30:58 | [Mutex] isItemNotified: node_rtrspz0208:create_node:success :: true

2023-05-24 22:30:58 | [Mutex] waiting for: [node_rtrspz0208:subscribe_node]

2023-05-24 22:30:58 | [Mutex] waiting for: [node_rtrspz0208:subscribe_node]

2023-05-24 22:30:58 | [Mutex] received everything.

2023-05-24 22:30:58 | [Mutex] isItemNotified: node_rtrspz0208:subscribe_node:success :: true

2023-05-24 22:30:58 |


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


2023-05-24 22:30:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:30:58 | command: <data><node>node_rtrspz0208</node><entry><content>content_jd1qet0209</content></entry></data>

2023-05-24 22:30:58 | target: http://localhost:8088

2023-05-24 22:30:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-24 22:30:58 | entity: <data><node>node_rtrspz0208</node><entry><content>content_jd1qet0209</content></entry></data>

2023-05-24 22:30:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:30:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:30:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5cd3b91b-96d8-4580-8b6a-5f98bc56f18c</value></item-id></result>

2023-05-24 22:30:58 | contains: true

2023-05-24 22:30:58 | [Mutex] received everything.

2023-05-24 22:30:58 | [Mutex] isItemNotified: user_regularaapsoy0207@test-domain.com:message:received:content_jd1qet0209 :: true

2023-05-24 22:30:58 |


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


2023-05-24 22:30:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:30:58 | command: <data><node>node_rtrspz0208</node><expire-at>2023-05-25T05:30:53Z</expire-at><entry><content>content_yvvhdf0210</content></entry></data>

2023-05-24 22:30:58 | target: http://localhost:8088

2023-05-24 22:30:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-24 22:30:58 | entity: <data><node>node_rtrspz0208</node><expire-at>2023-05-25T05:30:53Z</expire-at><entry><content>content_yvvhdf0210</content></entry></data>

2023-05-24 22:30:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:30:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:30:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>494e9253-d29c-4a7b-af62-61396a5d8bce</value></item-id></result>

2023-05-24 22:30:58 | contains: true

2023-05-24 22:30:58 | [Mutex] waiting for: [user_regularaapsoy0207@test-domain.com:message:received:content_yvvhdf0210]

2023-05-24 22:31:13 | [Mutex] timeout. Not received [user_regularaapsoy0207@test-domain.com:message:received:content_yvvhdf0210]

2023-05-24 22:31:13 | [Mutex] isItemNotified: user_regularaapsoy0207@test-domain.com:message:received:content_yvvhdf0210 :: false

2023-05-24 22:31:13 |


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


2023-05-24 22:31:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:31:13 | command: <data><node>node_rtrspz0208</node><entry><content>content_govxnp0211</content></entry></data>

2023-05-24 22:31:13 | target: http://localhost:8088

2023-05-24 22:31:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-24 22:31:13 | entity: <data><node>node_rtrspz0208</node><entry><content>content_govxnp0211</content></entry></data>

2023-05-24 22:31:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:31:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:31:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>79660b41-3a2e-4f58-8935-bf944e609865</value></item-id></result>

2023-05-24 22:31:13 | contains: true

2023-05-24 22:31:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-24 22:31:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-05-24 22:31:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-24 22:31:19 | [Mutex] waiting for: [user_regularaapsoy0207@test-domain.com:message:received:content_govxnp0211]

2023-05-24 22:31:19 | [Mutex] waiting for: [user_regularaapsoy0207@test-domain.com:message:received:content_govxnp0211]

2023-05-24 22:31:19 | [Mutex] received everything.

2023-05-24 22:31:19 | [Mutex] isItemNotified: user_regularaapsoy0207@test-domain.com:message:received:content_govxnp0211 :: true

2023-05-24 22:31:19 |


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


2023-05-24 22:31:19 | [Mutex] received everything.

2023-05-24 22:31:19 | [Mutex] isItemNotified: node_rtrspz0208:subscribe_node:success :: true

2023-05-24 22:31:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:31:19 | command: <data><node>node_rtrspz0208</node><expire-at>2023-05-25T05:31:24Z</expire-at><entry><content>content_wnzc3z0212</content></entry></data>

2023-05-24 22:31:19 | target: http://localhost:8088

2023-05-24 22:31:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-24 22:31:19 | entity: <data><node>node_rtrspz0208</node><expire-at>2023-05-25T05:31:24Z</expire-at><entry><content>content_wnzc3z0212</content></entry></data>

2023-05-24 22:31:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:31:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:31:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b2af5cc2-332a-4af6-b817-9f3e0c4f66e4</value></item-id></result>

2023-05-24 22:31:19 | contains: true

2023-05-24 22:31:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-24 22:31:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-05-24 22:31:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-24 22:31:27 | [Mutex] waiting for: [user_regularaapsoy0207@test-domain.com:message:received:content_wnzc3z0212]

2023-05-24 22:31:27 | [Mutex] waiting for: [user_regularaapsoy0207@test-domain.com:message:received:content_wnzc3z0212]

2023-05-24 22:31:27 | [Mutex] waiting for: [user_regularaapsoy0207@test-domain.com:message:received:content_wnzc3z0212]

2023-05-24 22:31:42 | [Mutex] timeout. Not received [user_regularaapsoy0207@test-domain.com:message:received:content_wnzc3z0212]

2023-05-24 22:31:42 | [Mutex] received everything.

2023-05-24 22:31:42 | [Mutex] isItemNotified: user_regularaapsoy0207@test-domain.com:message:received:content_wnzc3z0212 :: false

2023-05-24 22:31:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wnzc3z0212 :: true