Generated by TestNG with ReportNG at 22:45 PDT on Wednesday 29 March 2023
root@f9c07ffec79b / Java 17.0.2 (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.683s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.553s
2023-03-29 23:00:27 |

2023-03-29 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-29 23:00:27 | ------------------------------------

2023-03-29 23:00:27 | [Mutex] isItemNotified: node_lya0qi0208:exists :: false

2023-03-29 23:00:27 | [Mutex] waiting for: [node_lya0qi0208:create_node]

2023-03-29 23:00:27 | [Mutex] waiting for: [node_lya0qi0208:create_node]

2023-03-29 23:00:27 | [Mutex] received everything.

2023-03-29 23:00:27 | [Mutex] isItemNotified: node_lya0qi0208:create_node:success :: true

2023-03-29 23:00:27 | [Mutex] waiting for: [node_lya0qi0208:subscribe_node]

2023-03-29 23:00:27 | [Mutex] waiting for: [node_lya0qi0208:subscribe_node]

2023-03-29 23:00:27 | [Mutex] received everything.

2023-03-29 23:00:27 | [Mutex] isItemNotified: node_lya0qi0208:subscribe_node:success :: true

2023-03-29 23:00:27 |


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


2023-03-29 23:00:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 23:00:27 | command: <data><node>node_lya0qi0208</node><entry><content>content_ple5wf0209</content></entry></data>

2023-03-29 23:00:27 | target: http://localhost:8088

2023-03-29 23:00:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-29 23:00:27 | entity: <data><node>node_lya0qi0208</node><entry><content>content_ple5wf0209</content></entry></data>

2023-03-29 23:00:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 06:00:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 23:00:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ff3d25b-ddca-429e-b6b0-a6e08295664e</value></item-id></result>

2023-03-29 23:00:28 | contains: true

2023-03-29 23:00:28 | [Mutex] received everything.

2023-03-29 23:00:28 | [Mutex] isItemNotified: user_regularobo0ld0207@test-domain.com:message:received:content_ple5wf0209 :: true

2023-03-29 23:00:28 |


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


2023-03-29 23:00:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 23:00:28 | command: <data><node>node_lya0qi0208</node><expire-at>2023-03-30T06:00:23Z</expire-at><entry><content>content_dofinm0210</content></entry></data>

2023-03-29 23:00:28 | target: http://localhost:8088

2023-03-29 23:00:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-29 23:00:28 | entity: <data><node>node_lya0qi0208</node><expire-at>2023-03-30T06:00:23Z</expire-at><entry><content>content_dofinm0210</content></entry></data>

2023-03-29 23:00:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 06:00:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 23:00:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bf7447c5-96db-4eb8-be57-acaf56f50313</value></item-id></result>

2023-03-29 23:00:28 | contains: true

2023-03-29 23:00:28 | [Mutex] waiting for: [user_regularobo0ld0207@test-domain.com:message:received:content_dofinm0210]

2023-03-29 23:00:43 | [Mutex] timeout. Not received [user_regularobo0ld0207@test-domain.com:message:received:content_dofinm0210]

2023-03-29 23:00:43 | [Mutex] isItemNotified: user_regularobo0ld0207@test-domain.com:message:received:content_dofinm0210 :: false

2023-03-29 23:00:43 |


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


2023-03-29 23:00:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 23:00:43 | command: <data><node>node_lya0qi0208</node><entry><content>content_uvoj130211</content></entry></data>

2023-03-29 23:00:43 | target: http://localhost:8088

2023-03-29 23:00:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-29 23:00:43 | entity: <data><node>node_lya0qi0208</node><entry><content>content_uvoj130211</content></entry></data>

2023-03-29 23:00:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 06:00:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 23:00:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>43db1aff-8d4c-45b6-b343-649d5073277f</value></item-id></result>

2023-03-29 23:00:43 | contains: true

2023-03-29 23:00:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-29 23:00:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-29 23:00:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-29 23:00:48 | [Mutex] waiting for: [user_regularobo0ld0207@test-domain.com:message:received:content_uvoj130211]

2023-03-29 23:00:48 | [Mutex] waiting for: [user_regularobo0ld0207@test-domain.com:message:received:content_uvoj130211]

2023-03-29 23:00:48 | [Mutex] received everything.

2023-03-29 23:00:48 | [Mutex] isItemNotified: user_regularobo0ld0207@test-domain.com:message:received:content_uvoj130211 :: true

2023-03-29 23:00:48 |


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


2023-03-29 23:00:48 | [Mutex] received everything.

2023-03-29 23:00:48 | [Mutex] isItemNotified: node_lya0qi0208:subscribe_node:success :: true

2023-03-29 23:00:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 23:00:48 | command: <data><node>node_lya0qi0208</node><expire-at>2023-03-30T06:00:53Z</expire-at><entry><content>content_25m1zq0212</content></entry></data>

2023-03-29 23:00:48 | target: http://localhost:8088

2023-03-29 23:00:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-29 23:00:48 | entity: <data><node>node_lya0qi0208</node><expire-at>2023-03-30T06:00:53Z</expire-at><entry><content>content_25m1zq0212</content></entry></data>

2023-03-29 23:00:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 06:00:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 23:00:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bfb230e0-b5cc-4ac0-b7b9-85c503a3b432</value></item-id></result>

2023-03-29 23:00:48 | contains: true

2023-03-29 23:00:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-29 23:00:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-29 23:00:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-29 23:00:56 | [Mutex] waiting for: [user_regularobo0ld0207@test-domain.com:message:received:content_25m1zq0212]

2023-03-29 23:01:11 | [Mutex] timeout. Not received [user_regularobo0ld0207@test-domain.com:message:received:content_25m1zq0212]

2023-03-29 23:01:11 | [Mutex] received everything.

2023-03-29 23:01:11 | [Mutex] isItemNotified: user_regularobo0ld0207@test-domain.com:message:received:content_25m1zq0212 :: false

2023-03-29 23:01:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_25m1zq0212 :: true