Generated by TestNG with ReportNG at 22:25 PDT on Tuesday 10 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 44.999s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.610s
2022-05-10 22:39:42 |

2022-05-10 22:39:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-10 22:39:42 | ------------------------------------

2022-05-10 22:39:42 | [Mutex] isItemNotified: node_9gyb980204:exists :: false

2022-05-10 22:39:42 | [Mutex] waiting for: [node_9gyb980204:create_node]

2022-05-10 22:39:42 | [Mutex] received everything.

2022-05-10 22:39:42 | [Mutex] isItemNotified: node_9gyb980204:create_node:success :: true

2022-05-10 22:39:42 | [Mutex] waiting for: [node_9gyb980204:subscribe_node]

2022-05-10 22:39:42 | [Mutex] waiting for: [node_9gyb980204:subscribe_node]

2022-05-10 22:39:42 | [Mutex] received everything.

2022-05-10 22:39:42 | [Mutex] isItemNotified: node_9gyb980204:subscribe_node:success :: true

2022-05-10 22:39:42 |


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


2022-05-10 22:39:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:39:42 | command: <data><node>node_9gyb980204</node><entry><content>content_4r6g8g0205</content></entry></data>

2022-05-10 22:39:42 | target: http://localhost:8088

2022-05-10 22:39:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-10 22:39:42 | entity: <data><node>node_9gyb980204</node><entry><content>content_4r6g8g0205</content></entry></data>

2022-05-10 22:39:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:39:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:39:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e8abaf7-e9f4-4a96-89b9-bd69ba4f831b</value></item-id></result>

2022-05-10 22:39:42 | contains: true

2022-05-10 22:39:42 | [Mutex] waiting for: [user_regularsoz1l0203@test-domain.com:message:received:content_4r6g8g0205]

2022-05-10 22:39:42 | [Mutex] received everything.

2022-05-10 22:39:42 | [Mutex] isItemNotified: user_regularsoz1l0203@test-domain.com:message:received:content_4r6g8g0205 :: true

2022-05-10 22:39:42 |


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


2022-05-10 22:39:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:39:42 | command: <data><node>node_9gyb980204</node><expire-at>2022-05-11T05:39:37Z</expire-at><entry><content>content_9zhuyv0206</content></entry></data>

2022-05-10 22:39:42 | target: http://localhost:8088

2022-05-10 22:39:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-10 22:39:42 | entity: <data><node>node_9gyb980204</node><expire-at>2022-05-11T05:39:37Z</expire-at><entry><content>content_9zhuyv0206</content></entry></data>

2022-05-10 22:39:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:39:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:39:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>645411c2-e9a3-476b-a029-822c8289d721</value></item-id></result>

2022-05-10 22:39:42 | contains: true

2022-05-10 22:39:42 | [Mutex] waiting for: [user_regularsoz1l0203@test-domain.com:message:received:content_9zhuyv0206]

2022-05-10 22:39:57 | [Mutex] timeout. Not received [user_regularsoz1l0203@test-domain.com:message:received:content_9zhuyv0206]

2022-05-10 22:39:57 | [Mutex] isItemNotified: user_regularsoz1l0203@test-domain.com:message:received:content_9zhuyv0206 :: false

2022-05-10 22:39:57 |


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


2022-05-10 22:39:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:39:57 | command: <data><node>node_9gyb980204</node><entry><content>content_xmcpia0207</content></entry></data>

2022-05-10 22:39:57 | target: http://localhost:8088

2022-05-10 22:39:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-10 22:39:57 | entity: <data><node>node_9gyb980204</node><entry><content>content_xmcpia0207</content></entry></data>

2022-05-10 22:39:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:39:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:39:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>47581df8-b253-428f-919a-489c0925b95b</value></item-id></result>

2022-05-10 22:39:57 | contains: true

2022-05-10 22:40:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-10 22:40:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-10 22:40:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-10 22:40:02 | [Mutex] waiting for: [user_regularsoz1l0203@test-domain.com:message:received:content_xmcpia0207]

2022-05-10 22:40:02 | [Mutex] waiting for: [user_regularsoz1l0203@test-domain.com:message:received:content_xmcpia0207]

2022-05-10 22:40:02 | [Mutex] received everything.

2022-05-10 22:40:02 | [Mutex] isItemNotified: user_regularsoz1l0203@test-domain.com:message:received:content_xmcpia0207 :: true

2022-05-10 22:40:02 |


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


2022-05-10 22:40:02 | [Mutex] received everything.

2022-05-10 22:40:02 | [Mutex] isItemNotified: node_9gyb980204:subscribe_node:success :: true

2022-05-10 22:40:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:40:02 | command: <data><node>node_9gyb980204</node><expire-at>2022-05-11T05:40:07Z</expire-at><entry><content>content_fgzkcq0208</content></entry></data>

2022-05-10 22:40:02 | target: http://localhost:8088

2022-05-10 22:40:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-10 22:40:02 | entity: <data><node>node_9gyb980204</node><expire-at>2022-05-11T05:40:07Z</expire-at><entry><content>content_fgzkcq0208</content></entry></data>

2022-05-10 22:40:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:40:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:40:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b10cdb26-6ca3-4768-a938-f8e52c72c54b</value></item-id></result>

2022-05-10 22:40:02 | contains: true

2022-05-10 22:40:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-10 22:40:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-10 22:40:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-10 22:40:10 | [Mutex] waiting for: [user_regularsoz1l0203@test-domain.com:message:received:content_fgzkcq0208]

2022-05-10 22:40:25 | [Mutex] timeout. Not received [user_regularsoz1l0203@test-domain.com:message:received:content_fgzkcq0208]

2022-05-10 22:40:25 | [Mutex] received everything.

2022-05-10 22:40:25 | [Mutex] isItemNotified: user_regularsoz1l0203@test-domain.com:message:received:content_fgzkcq0208 :: false

2022-05-10 22:40:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fgzkcq0208 :: true