Generated by TestNG with ReportNG at 22:50 PDT on Friday 08 July 2022
root@ed1b7dd8a1b3 / 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.445s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.593s
2022-07-08 23:04:22 |

2022-07-08 23:04:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-08 23:04:22 | ------------------------------------

2022-07-08 23:04:22 | [Mutex] isItemNotified: node_43ssxf0204:exists :: false

2022-07-08 23:04:22 | [Mutex] waiting for: [node_43ssxf0204:create_node]

2022-07-08 23:04:22 | [Mutex] received everything.

2022-07-08 23:04:22 | [Mutex] isItemNotified: node_43ssxf0204:create_node:success :: true

2022-07-08 23:04:22 | [Mutex] waiting for: [node_43ssxf0204:subscribe_node]

2022-07-08 23:04:22 | [Mutex] received everything.

2022-07-08 23:04:22 | [Mutex] isItemNotified: node_43ssxf0204:subscribe_node:success :: true

2022-07-08 23:04:22 |


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


2022-07-08 23:04:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-08 23:04:22 | command: <data><node>node_43ssxf0204</node><entry><content>content_pzj1g0205</content></entry></data>

2022-07-08 23:04:22 | target: http://localhost:8088

2022-07-08 23:04:22 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-07-08 23:04:22 | entity: <data><node>node_43ssxf0204</node><entry><content>content_pzj1g0205</content></entry></data>

2022-07-08 23:04:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 06:04:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 23:04:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5fc7f162-b870-4df6-87b4-a7dc239d7978</value></item-id></result>

2022-07-08 23:04:22 | contains: true

2022-07-08 23:04:22 | [Mutex] waiting for: [user_regularxa7hbb0203@test-domain.com:message:received:content_pzj1g0205]

2022-07-08 23:04:22 | [Mutex] received everything.

2022-07-08 23:04:22 | [Mutex] isItemNotified: user_regularxa7hbb0203@test-domain.com:message:received:content_pzj1g0205 :: true

2022-07-08 23:04:22 |


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


2022-07-08 23:04:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-08 23:04:22 | command: <data><node>node_43ssxf0204</node><expire-at>2022-07-09T06:04:17Z</expire-at><entry><content>content_rn4fpb0206</content></entry></data>

2022-07-08 23:04:22 | target: http://localhost:8088

2022-07-08 23:04:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-08 23:04:22 | entity: <data><node>node_43ssxf0204</node><expire-at>2022-07-09T06:04:17Z</expire-at><entry><content>content_rn4fpb0206</content></entry></data>

2022-07-08 23:04:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 06:04:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 23:04:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d9f5707-3e78-423c-9704-6f86af1bb8d6</value></item-id></result>

2022-07-08 23:04:22 | contains: true

2022-07-08 23:04:22 | [Mutex] waiting for: [user_regularxa7hbb0203@test-domain.com:message:received:content_rn4fpb0206]

2022-07-08 23:04:37 | [Mutex] timeout. Not received [user_regularxa7hbb0203@test-domain.com:message:received:content_rn4fpb0206]

2022-07-08 23:04:37 | [Mutex] isItemNotified: user_regularxa7hbb0203@test-domain.com:message:received:content_rn4fpb0206 :: false

2022-07-08 23:04:37 |


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


2022-07-08 23:04:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-08 23:04:37 | command: <data><node>node_43ssxf0204</node><entry><content>content_vo7hj90207</content></entry></data>

2022-07-08 23:04:37 | target: http://localhost:8088

2022-07-08 23:04:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-08 23:04:37 | entity: <data><node>node_43ssxf0204</node><entry><content>content_vo7hj90207</content></entry></data>

2022-07-08 23:04:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 06:04:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 23:04:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e0ad1ce7-e423-4887-ae56-b2b7874014f9</value></item-id></result>

2022-07-08 23:04:37 | contains: true

2022-07-08 23:04:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-08 23:04:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-08 23:04:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-08 23:04:42 | [Mutex] waiting for: [user_regularxa7hbb0203@test-domain.com:message:received:content_vo7hj90207]

2022-07-08 23:04:42 | [Mutex] waiting for: [user_regularxa7hbb0203@test-domain.com:message:received:content_vo7hj90207]

2022-07-08 23:04:42 | [Mutex] received everything.

2022-07-08 23:04:42 | [Mutex] isItemNotified: user_regularxa7hbb0203@test-domain.com:message:received:content_vo7hj90207 :: true

2022-07-08 23:04:42 |


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


2022-07-08 23:04:42 | [Mutex] received everything.

2022-07-08 23:04:42 | [Mutex] isItemNotified: node_43ssxf0204:subscribe_node:success :: true

2022-07-08 23:04:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-08 23:04:42 | command: <data><node>node_43ssxf0204</node><expire-at>2022-07-09T06:04:47Z</expire-at><entry><content>content_93szcm0208</content></entry></data>

2022-07-08 23:04:42 | target: http://localhost:8088

2022-07-08 23:04:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-08 23:04:42 | entity: <data><node>node_43ssxf0204</node><expire-at>2022-07-09T06:04:47Z</expire-at><entry><content>content_93szcm0208</content></entry></data>

2022-07-08 23:04:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 06:04:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 23:04:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61a35ee7-5336-436b-a76d-e1297a3bc970</value></item-id></result>

2022-07-08 23:04:42 | contains: true

2022-07-08 23:04:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-08 23:04:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-08 23:04:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-08 23:04:50 | [Mutex] waiting for: [user_regularxa7hbb0203@test-domain.com:message:received:content_93szcm0208]

2022-07-08 23:04:50 | [Mutex] waiting for: [user_regularxa7hbb0203@test-domain.com:message:received:content_93szcm0208]

2022-07-08 23:04:50 | [Mutex] waiting for: [user_regularxa7hbb0203@test-domain.com:message:received:content_93szcm0208]

2022-07-08 23:05:05 | [Mutex] timeout. Not received [user_regularxa7hbb0203@test-domain.com:message:received:content_93szcm0208]

2022-07-08 23:05:05 | [Mutex] received everything.

2022-07-08 23:05:05 | [Mutex] isItemNotified: user_regularxa7hbb0203@test-domain.com:message:received:content_93szcm0208 :: false

2022-07-08 23:05:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_93szcm0208 :: true