Generated by TestNG with ReportNG at 20:59 PDT on Wednesday 05 July 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.785s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.758s
2023-07-05 21:13:45 |

2023-07-05 21:13:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-05 21:13:45 | ------------------------------------

2023-07-05 21:13:45 | [Mutex] isItemNotified: node_x7v4tf0208:exists :: false

2023-07-05 21:13:45 | [Mutex] waiting for: [node_x7v4tf0208:create_node]

2023-07-05 21:13:45 | [Mutex] received everything.

2023-07-05 21:13:45 | [Mutex] isItemNotified: node_x7v4tf0208:create_node:success :: true

2023-07-05 21:13:45 | [Mutex] waiting for: [node_x7v4tf0208:subscribe_node]

2023-07-05 21:13:45 | [Mutex] waiting for: [node_x7v4tf0208:subscribe_node]

2023-07-05 21:13:45 | [Mutex] received everything.

2023-07-05 21:13:45 | [Mutex] isItemNotified: node_x7v4tf0208:subscribe_node:success :: true

2023-07-05 21:13:45 |


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


2023-07-05 21:13:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:13:45 | command: <data><node>node_x7v4tf0208</node><entry><content>content_p4nbf50209</content></entry></data>

2023-07-05 21:13:45 | target: http://localhost:8088

2023-07-05 21:13:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-05 21:13:45 | entity: <data><node>node_x7v4tf0208</node><entry><content>content_p4nbf50209</content></entry></data>

2023-07-05 21:13:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:13:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:13:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>17f67612-408e-4636-855e-8465c8c3ea17</value></item-id></result>

2023-07-05 21:13:45 | contains: true

2023-07-05 21:13:45 | [Mutex] waiting for: [user_regulargtapy70207@test-domain.com:message:received:content_p4nbf50209]

2023-07-05 21:13:45 | [Mutex] received everything.

2023-07-05 21:13:45 | [Mutex] isItemNotified: user_regulargtapy70207@test-domain.com:message:received:content_p4nbf50209 :: true

2023-07-05 21:13:45 |


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


2023-07-05 21:13:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:13:45 | command: <data><node>node_x7v4tf0208</node><expire-at>2023-07-06T04:13:40Z</expire-at><entry><content>content_5v03ko0210</content></entry></data>

2023-07-05 21:13:45 | target: http://localhost:8088

2023-07-05 21:13:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-05 21:13:45 | entity: <data><node>node_x7v4tf0208</node><expire-at>2023-07-06T04:13:40Z</expire-at><entry><content>content_5v03ko0210</content></entry></data>

2023-07-05 21:13:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:13:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:13:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>daaa6e4e-88a3-4806-b05a-925ccaa69ea6</value></item-id></result>

2023-07-05 21:13:45 | contains: true

2023-07-05 21:13:45 | [Mutex] waiting for: [user_regulargtapy70207@test-domain.com:message:received:content_5v03ko0210]

2023-07-05 21:14:00 | [Mutex] timeout. Not received [user_regulargtapy70207@test-domain.com:message:received:content_5v03ko0210]

2023-07-05 21:14:00 | [Mutex] isItemNotified: user_regulargtapy70207@test-domain.com:message:received:content_5v03ko0210 :: false

2023-07-05 21:14:00 |


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


2023-07-05 21:14:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:14:00 | command: <data><node>node_x7v4tf0208</node><entry><content>content_yn60bx0211</content></entry></data>

2023-07-05 21:14:00 | target: http://localhost:8088

2023-07-05 21:14:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-05 21:14:00 | entity: <data><node>node_x7v4tf0208</node><entry><content>content_yn60bx0211</content></entry></data>

2023-07-05 21:14:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:14:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:14:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>44010bf6-b57f-4050-b412-807ab46a1ba2</value></item-id></result>

2023-07-05 21:14:01 | contains: true

2023-07-05 21:14:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-05 21:14:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-05 21:14:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-05 21:14:06 | [Mutex] received everything.

2023-07-05 21:14:06 | [Mutex] isItemNotified: user_regulargtapy70207@test-domain.com:message:received:content_yn60bx0211 :: true

2023-07-05 21:14:06 |


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


2023-07-05 21:14:06 | [Mutex] received everything.

2023-07-05 21:14:06 | [Mutex] isItemNotified: node_x7v4tf0208:subscribe_node:success :: true

2023-07-05 21:14:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:14:06 | command: <data><node>node_x7v4tf0208</node><expire-at>2023-07-06T04:14:11Z</expire-at><entry><content>content_gwe9bw0212</content></entry></data>

2023-07-05 21:14:06 | target: http://localhost:8088

2023-07-05 21:14:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-05 21:14:06 | entity: <data><node>node_x7v4tf0208</node><expire-at>2023-07-06T04:14:11Z</expire-at><entry><content>content_gwe9bw0212</content></entry></data>

2023-07-05 21:14:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:14:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:14:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e33f27cb-3a41-4ae1-bcd4-040bbb5e2634</value></item-id></result>

2023-07-05 21:14:06 | contains: true

2023-07-05 21:14:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-07-05 21:14:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-05 21:14:14 | [Mutex] waiting for: [user_regulargtapy70207@test-domain.com:message:received:content_gwe9bw0212]

2023-07-05 21:14:14 | [Mutex] waiting for: [user_regulargtapy70207@test-domain.com:message:received:content_gwe9bw0212]

2023-07-05 21:14:14 | [Mutex] waiting for: [user_regulargtapy70207@test-domain.com:message:received:content_gwe9bw0212]

2023-07-05 21:14:29 | [Mutex] timeout. Not received [user_regulargtapy70207@test-domain.com:message:received:content_gwe9bw0212]

2023-07-05 21:14:29 | [Mutex] received everything.

2023-07-05 21:14:29 | [Mutex] isItemNotified: user_regulargtapy70207@test-domain.com:message:received:content_gwe9bw0212 :: false

2023-07-05 21:14:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gwe9bw0212 :: true