Generated by TestNG with ReportNG at 22:52 PDT on Monday 09 May 2022
root@1bc69cf4cb94 / 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.637s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.629s
2022-05-09 23:06:25 |

2022-05-09 23:06:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-09 23:06:25 | ------------------------------------

2022-05-09 23:06:25 | [Mutex] isItemNotified: node_366k7w0204:exists :: false

2022-05-09 23:06:25 | [Mutex] waiting for: [node_366k7w0204:create_node]

2022-05-09 23:06:25 | [Mutex] received everything.

2022-05-09 23:06:25 | [Mutex] isItemNotified: node_366k7w0204:create_node:success :: true

2022-05-09 23:06:25 | [Mutex] waiting for: [node_366k7w0204:subscribe_node]

2022-05-09 23:06:25 | [Mutex] waiting for: [node_366k7w0204:subscribe_node]

2022-05-09 23:06:25 | [Mutex] received everything.

2022-05-09 23:06:25 | [Mutex] isItemNotified: node_366k7w0204:subscribe_node:success :: true

2022-05-09 23:06:25 |


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


2022-05-09 23:06:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-09 23:06:25 | command: <data><node>node_366k7w0204</node><entry><content>content_tnet1a0205</content></entry></data>

2022-05-09 23:06:25 | target: http://localhost:8088

2022-05-09 23:06:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-09 23:06:25 | entity: <data><node>node_366k7w0204</node><entry><content>content_tnet1a0205</content></entry></data>

2022-05-09 23:06:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 06:06:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-09 23:06:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>151c24e3-ba77-476f-bfb5-006bdf54308e</value></item-id></result>

2022-05-09 23:06:25 | contains: true

2022-05-09 23:06:25 | [Mutex] received everything.

2022-05-09 23:06:25 | [Mutex] isItemNotified: user_regularasjfrc0203@test-domain.com:message:received:content_tnet1a0205 :: true

2022-05-09 23:06:25 |


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


2022-05-09 23:06:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-09 23:06:25 | command: <data><node>node_366k7w0204</node><expire-at>2022-05-10T06:06:20Z</expire-at><entry><content>content_ciuwh70206</content></entry></data>

2022-05-09 23:06:25 | target: http://localhost:8088

2022-05-09 23:06:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-09 23:06:25 | entity: <data><node>node_366k7w0204</node><expire-at>2022-05-10T06:06:20Z</expire-at><entry><content>content_ciuwh70206</content></entry></data>

2022-05-09 23:06:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 06:06:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-09 23:06:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f22ec7f0-aa4e-4822-b67e-c7525db85321</value></item-id></result>

2022-05-09 23:06:25 | contains: true

2022-05-09 23:06:25 | [Mutex] waiting for: [user_regularasjfrc0203@test-domain.com:message:received:content_ciuwh70206]

2022-05-09 23:06:40 | [Mutex] timeout. Not received [user_regularasjfrc0203@test-domain.com:message:received:content_ciuwh70206]

2022-05-09 23:06:40 | [Mutex] isItemNotified: user_regularasjfrc0203@test-domain.com:message:received:content_ciuwh70206 :: false

2022-05-09 23:06:40 |


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


2022-05-09 23:06:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-09 23:06:40 | command: <data><node>node_366k7w0204</node><entry><content>content_76sbtz0207</content></entry></data>

2022-05-09 23:06:40 | target: http://localhost:8088

2022-05-09 23:06:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-09 23:06:40 | entity: <data><node>node_366k7w0204</node><entry><content>content_76sbtz0207</content></entry></data>

2022-05-09 23:06:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 06:06:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-09 23:06:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>086bef70-a233-4161-ad90-9c7287a3f933</value></item-id></result>

2022-05-09 23:06:40 | contains: true

2022-05-09 23:06:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-09 23:06:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-09 23:06:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-09 23:06:45 | [Mutex] waiting for: [user_regularasjfrc0203@test-domain.com:message:received:content_76sbtz0207]

2022-05-09 23:06:45 | [Mutex] waiting for: [user_regularasjfrc0203@test-domain.com:message:received:content_76sbtz0207]

2022-05-09 23:06:45 | [Mutex] received everything.

2022-05-09 23:06:45 | [Mutex] isItemNotified: user_regularasjfrc0203@test-domain.com:message:received:content_76sbtz0207 :: true

2022-05-09 23:06:45 |


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


2022-05-09 23:06:45 | [Mutex] received everything.

2022-05-09 23:06:45 | [Mutex] isItemNotified: node_366k7w0204:subscribe_node:success :: true

2022-05-09 23:06:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-09 23:06:45 | command: <data><node>node_366k7w0204</node><expire-at>2022-05-10T06:06:50Z</expire-at><entry><content>content_j1sqt00208</content></entry></data>

2022-05-09 23:06:45 | target: http://localhost:8088

2022-05-09 23:06:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-09 23:06:45 | entity: <data><node>node_366k7w0204</node><expire-at>2022-05-10T06:06:50Z</expire-at><entry><content>content_j1sqt00208</content></entry></data>

2022-05-09 23:06:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 06:06:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-09 23:06:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a19966c3-14b9-424c-b67a-642f4350cd68</value></item-id></result>

2022-05-09 23:06:45 | contains: true

2022-05-09 23:06:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-05-09 23:06:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-09 23:06:54 | [Mutex] waiting for: [user_regularasjfrc0203@test-domain.com:message:received:content_j1sqt00208]

2022-05-09 23:06:54 | [Mutex] waiting for: [user_regularasjfrc0203@test-domain.com:message:received:content_j1sqt00208]

2022-05-09 23:07:09 | [Mutex] timeout. Not received [user_regularasjfrc0203@test-domain.com:message:received:content_j1sqt00208]

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

2022-05-09 23:07:09 | [Mutex] isItemNotified: user_regularasjfrc0203@test-domain.com:message:received:content_j1sqt00208 :: false

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