# Not able to Get Performance Data

**URL:** <https://discuss.appium.io/t/not-able-to-get-performance-data/27050>\
**Category:** Support\
**Created:** [July 9, 2019, 9:05am UTC](https://discuss.appium.io/t/not-able-to-get-performance-data/27050 "2019-07-09T09:05:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blastoise](https://discuss.appium.io/letter_avatar_proxy/v4/letter/b/e480ec/32.png) [@Blastoise](https://discuss.appium.io/u/Blastoise)\
**Post date:** [July 9, 2019, 9:05am UTC](https://discuss.appium.io/t/not-able-to-get-performance-data/27050/1 "2019-07-09T09:05:16Z")

</div>

Hello!

I used code from [https://appiumpro.com/editions/5](https://appiumpro.com/editions/5), downloaded all needed dependencies and I am still getting error: failure|564x89

I do not know if methods are already obsolete or I forgot to put some values somewhere …  
If there is need I can upload my code.

I would be really grateful for any advice.

---

<div class="post-metadata">

**Author:** ![Blastoise](https://discuss.appium.io/letter_avatar_proxy/v4/letter/b/e480ec/32.png) [@Blastoise](https://discuss.appium.io/u/Blastoise)\
**Post date:** [July 10, 2019, 12:58pm UTC](https://discuss.appium.io/t/not-able-to-get-performance-data/27050/2 "2019-07-10T12:58:09Z")

</div>

**Error:**  
org.openqa.selenium.json.JsonException: Unable to determine type from: C. Last characters read:{  
“desiredCapabilities”:{“app”:C

**Part of code:**

@Test  
public void testMemoryUsage() throws Exception {  
File classpathRoot = new File(System.getProperty(“user.dir”));  
File appDir = new File(classpathRoot, “…/apps/”);  
File app = new File(appDir.getAbsolutePath(), “StreetSonar.Android.StreetSonar.Android”);

DesiredCapabilities capabilities = new DesiredCapabilities();  
capabilities.setCapability(“platformName”, “Android”);  
capabilities.setCapability(“deviceName”, “ALE-L21”);  
capabilities.setCapability(“automationName”, “UiAutomator2”);  
capabilities.setCapability(“app”, app);
