Generated by TestNG with ReportNG at 22:17 PDT on Friday 25 August 2023
root@c198f8de0a9c / Java 17.0.8 (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.667s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.624s
2023-08-25 22:31:58 |

2023-08-25 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-08-25 22:31:58 | ------------------------------------

2023-08-25 22:31:58 | [Mutex] isItemNotified: node_4njl3m0208:exists :: false

2023-08-25 22:31:58 | [Mutex] waiting for: [node_4njl3m0208:create_node]

2023-08-25 22:31:58 | [Mutex] waiting for: [node_4njl3m0208:create_node]

2023-08-25 22:31:58 | [Mutex] received everything.

2023-08-25 22:31:58 | [Mutex] isItemNotified: node_4njl3m0208:create_node:success :: true

2023-08-25 22:31:58 | [Mutex] waiting for: [node_4njl3m0208:subscribe_node]

2023-08-25 22:31:58 | [Mutex] waiting for: [node_4njl3m0208:subscribe_node]

2023-08-25 22:31:58 | [Mutex] received everything.

2023-08-25 22:31:58 | [Mutex] isItemNotified: node_4njl3m0208:subscribe_node:success :: true

2023-08-25 22:31:58 |


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


2023-08-25 22:31:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 22:31:58 | command: <data><node>node_4njl3m0208</node><entry><content>content_qp28bp0209</content></entry></data>

2023-08-25 22:31:58 | target: http://localhost:8088

2023-08-25 22:31:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-25 22:31:58 | entity: <data><node>node_4njl3m0208</node><entry><content>content_qp28bp0209</content></entry></data>

2023-08-25 22:31:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 05:31:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 22:31:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4b12924a-2afa-4732-949e-fc2715a7e704</value></item-id></result>

2023-08-25 22:31:58 | contains: true

2023-08-25 22:31:58 | [Mutex] received everything.

2023-08-25 22:31:58 | [Mutex] isItemNotified: user_regulary0irrf0207@test-domain.com:message:received:content_qp28bp0209 :: true

2023-08-25 22:31:58 |


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


2023-08-25 22:31:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 22:31:58 | command: <data><node>node_4njl3m0208</node><expire-at>2023-08-26T05:31:53Z</expire-at><entry><content>content_7pbeww0210</content></entry></data>

2023-08-25 22:31:58 | target: http://localhost:8088

2023-08-25 22:31:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-25 22:31:58 | entity: <data><node>node_4njl3m0208</node><expire-at>2023-08-26T05:31:53Z</expire-at><entry><content>content_7pbeww0210</content></entry></data>

2023-08-25 22:31:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 05:31:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 22:31:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ca0601fc-5dc2-4f0a-80d1-7ce916623af0</value></item-id></result>

2023-08-25 22:31:59 | contains: true

2023-08-25 22:31:59 | [Mutex] waiting for: [user_regulary0irrf0207@test-domain.com:message:received:content_7pbeww0210]

2023-08-25 22:32:14 | [Mutex] timeout. Not received [user_regulary0irrf0207@test-domain.com:message:received:content_7pbeww0210]

2023-08-25 22:32:14 | [Mutex] isItemNotified: user_regulary0irrf0207@test-domain.com:message:received:content_7pbeww0210 :: false

2023-08-25 22:32:14 |


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


2023-08-25 22:32:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 22:32:14 | command: <data><node>node_4njl3m0208</node><entry><content>content_7v02f10211</content></entry></data>

2023-08-25 22:32:14 | target: http://localhost:8088

2023-08-25 22:32:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-25 22:32:14 | entity: <data><node>node_4njl3m0208</node><entry><content>content_7v02f10211</content></entry></data>

2023-08-25 22:32:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 05:32:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 22:32:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>28b40f2b-49ac-4ff7-a4b6-58348fc685bf</value></item-id></result>

2023-08-25 22:32:14 | contains: true

2023-08-25 22:32:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-08-25 22:32:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-08-25 22:32:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-25 22:32:19 | [Mutex] waiting for: [user_regulary0irrf0207@test-domain.com:message:received:content_7v02f10211]

2023-08-25 22:32:19 | [Mutex] waiting for: [user_regulary0irrf0207@test-domain.com:message:received:content_7v02f10211]

2023-08-25 22:32:19 | [Mutex] received everything.

2023-08-25 22:32:19 | [Mutex] isItemNotified: user_regulary0irrf0207@test-domain.com:message:received:content_7v02f10211 :: true

2023-08-25 22:32:19 |


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


2023-08-25 22:32:19 | [Mutex] received everything.

2023-08-25 22:32:19 | [Mutex] isItemNotified: node_4njl3m0208:subscribe_node:success :: true

2023-08-25 22:32:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 22:32:19 | command: <data><node>node_4njl3m0208</node><expire-at>2023-08-26T05:32:24Z</expire-at><entry><content>content_rcjl2n0212</content></entry></data>

2023-08-25 22:32:19 | target: http://localhost:8088

2023-08-25 22:32:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-25 22:32:19 | entity: <data><node>node_4njl3m0208</node><expire-at>2023-08-26T05:32:24Z</expire-at><entry><content>content_rcjl2n0212</content></entry></data>

2023-08-25 22:32:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 05:32:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 22:32:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>749a06cf-b9d2-4d28-bfab-b147eba469cc</value></item-id></result>

2023-08-25 22:32:19 | contains: true

2023-08-25 22:32:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-08-25 22:32:27 | [Mutex] waiting for: [user_regulary0irrf0207@test-domain.com:message:received:content_rcjl2n0212]

2023-08-25 22:32:42 | [Mutex] timeout. Not received [user_regulary0irrf0207@test-domain.com:message:received:content_rcjl2n0212]

2023-08-25 22:32:42 | [Mutex] received everything.

2023-08-25 22:32:42 | [Mutex] isItemNotified: user_regulary0irrf0207@test-domain.com:message:received:content_rcjl2n0212 :: false

2023-08-25 22:32:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rcjl2n0212 :: true